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 difference between swing and awt?
What is awt and swing in java?
What is the what is the difference between invokeandwait() and invokelater()? ?
What is the function of lightweight components used in swing?
What are the two key features of swing?
What is import javax swing jframe?
Why do we use swing in java?
What is the use of jcomponent class in swing?
How to move from one page to another in java swing?
What is swing used for?
Why would you use swingutilities.invokeandwait or swingutilities.invokelater?
How to align components in java swing?
Why are swing components called lightweight components?
What are the benefits of swing over awt?
What class is at the top of the AWT event hierarchy?