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


Please Help Members By Posting Answers For Below Questions

What is difference between swing and awt?

491


What is awt and swing in java?

506


What is the what is the difference between invokeandwait() and invokelater()? ?

635


What is the function of lightweight components used in swing?

560


What are the two key features of swing?

536






What is import javax swing jframe?

554


Why do we use swing in java?

517


What is the use of jcomponent class in swing?

573


How to move from one page to another in java swing?

621


What is swing used for?

493


Why would you use swingutilities.invokeandwait or swingutilities.invokelater?

556


How to align components in java swing?

584


Why are swing components called lightweight components?

481


What are the benefits of swing over awt?

592


What class is at the top of the AWT event hierarchy?

654