what is the diff's between swing and applet?
Answer Posted / hrishikesh
1. Swing is light weght Component. Applet is heavy weight Components
2. Swing Using UIManager. Swing have look and feel according to user view u can change look and feel. Applet Does not provide this facility
3.Swing uses for stand lone Applications ,Swing have main method to execute the program. Applet need HTML code for Run the Applet
4. Swing uses MVC Model view Controller. Applet not
5. Swing have its own Layout ..like most popular Box Layout Applet uses Awt Layouts..like flowlayout
6. Swing have some Thread rules. Applet doent have any rule.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the difference between swing and applet?
Which package is needed for swing components?
Which swing methods are thread-safe?
What is the use of jcomponent class in swing?
What are the advantages of swing over awt?
What is swing container?
What are heavyweight components? What is lightweight component?
Can a class be it?s own event handler? Explain how to implement this?
What are the components of swing in java?
Why are swing components called lightweight?
What is the mean of swing?
How to move from one page to another in java swing?
What is the use of jfc in java swing?
What is the purpose of serialization in swings?
What is the difference between applications and applets?