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


Please Help Members By Posting Answers For Below Questions

What is the difference between swing and awt?

700


Why are swing components called lightweight?

701


What are the differences between Swing and AWT?

794


Write a program to include the internal frame in swing.

721


What are swing components?

780


What is swing api?

698


Where is java swing used?

763


What is an event and what are the models available for event handling?

727


What are the benefits of swing over awt?

789


What is swing in java with example?

688


What is the mean of swing?

647


What is jlabel java swing?

707


How is multi-threading gets implemented using swing?

710


How to reload a jframe in java swing?

749


How to print in java swing application?

700