Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Why do we use swing in java?

984


What are the two key features of swing?

1023


What is actionlistener in java swing?

1040


What is container in java swing?

1045


What do you mean by java swing?

975


How to perform action on button in java swing?

961


What is import javax swing jframe?

1016


How to render an html page using only swing.

1008


Why are swing components called lightweight components?

942


What is frame in java swing?

1020


What is the design pattern that java uses for all swing components ?

934


What is the purpose of serialization in swings?

1008


Why does JComponent have add() and remove() methods but Component does not?

1011


Which method is used by the applet to recognize the height and width?

1093


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

998