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
How to render an html page using only swing.
What are the features of swing in java?
What are the components of swing in java?
How to change button color in java swing?
What are the swing components?
What is an event handler in swing?
What are the various components of swing?
What is swing delegation event model in java?
How is multi-threading gets implemented using swing?
Why swings are called lightweight components?
What is the what is the difference between invokeandwait() and invokelater()? ?
When we should go for codebase in applet?
What is java swing used for?
How to align components in java swing?
What is the use of java swing?