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 swing gui in java?
What is java panel swing?
What are the components of java swing?
What is the use of jcomponent class in swing?
What is an event and what are the models available for event handling?
Can a class be it?s own event handler? Explain how to implement this?
What is an event handler in swing?
What are the two key features of swing?
What is frame in java swing?
What are heavyweight components? What is lightweight component?
When we should go for codebase in applet?
How does accessibility works in swings?
What is the what is the difference between invokeandwait() and invokelater()? ?
What do you mean by java swing?
What is the difference between swing and applet?