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
What is java swing gui?
Is swing still used in java?
How is multi-threading gets implemented using swing?
Explain how to render an html page using only swing.
Is swing thread-safe?
What are the advantages of swing over awt?
Write a program to paint the off-screen buffer in swings
What is jfc? What are the features of jfc?
What is swing control?
What is the difference between invokeAndWait() and invokeLater()?
Which types of components are used in designing swing based gui?
How to add calendar in java swing using eclipse?
Why are swings considered lightweight?
Why swing is used in java?
Write a program to include the internal frame in swing.