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 swing container?

520


What is container in java swing?

529


What is the function of internal frame in swing?

611


Why are swing components called lightweight?

544


What is awt and swing in java?

497






How to render an html page using only swing.

591


What is import javax swing jframe?

551


What is swing package in java?

520


Explain the difference between swing and jsf.

612


What is swing used for?

489


How to create image slideshow in java swing?

611


How to change button color in java swing?

517


Explain the difference between jfc & wfc.

564


What is a swing application?

502


Which types of components are used in designing swing based gui?

525