what is the diff's between swing and applet?
Answer Posted / sidhu
Component
Swing :Swing is light weght Component
Applet : Applet is heavy weight Components
Look and feel
Swing: Using UIManager swing have look and feel according
to user view u can change look and feel
Applet: Applet Does not provide this facility
Compile
Swing : swing uses for stand lone Applications ,Swing
have main method to execute the program
Applet : Applet need HTML code for Run the Applet
Swing : uses MVC Model view Controller
Applet : not
Swing : swing have its own Layout ..like most popular Box
Layout
Applet : Applet uses Awt Layouts..like flowlayout
Thread
Swing :Swing have some Thread rules
Applet :There is no any rule
| Is This Answer Correct ? | 145 Yes | 11 No |
Post New Answer View All Answers
Is swing an adjective?
Why are swing components called lightweight components?
Why would you use swingutilities.invokeandwait or swingutilities.invokelater?
What is content pane in swing?
What is java swing used for?
How do you swing an applet?
Is swing better than awt?
How to create a swing gui in java?
What is an event handler in swing?
Is swing an api?
What is jpanel in java swing with example?
What are controls and what are different types of controls in awt?
Who created the swing?
What is the difference between applications and applets?
What is swing and its features in java?