what is the diff's between swing and applet?
Answer Posted / sourabh
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 ? | 1 Yes | 0 No |
Post New Answer View All Answers
Why do we use swing in java?
What are the two key features of swing?
What is actionlistener in java swing?
What is container in java swing?
What do you mean by java swing?
How to perform action on button in java swing?
What is import javax swing jframe?
How to render an html page using only swing.
Why are swing components called lightweight components?
What is frame in java swing?
What is the design pattern that java uses for all swing components ?
What is the purpose of serialization in swings?
Why does JComponent have add() and remove() methods but Component does not?
Which method is used by the applet to recognize the height and width?
What is an event and what are the models available for event handling?