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 difference between AWT and SWING what is the
advantage of using swing?

Answer Posted / muffy.jad@gmail.com

Swing is a more powerful alternative for awt.Swing is a set
of classes that provides more powerful and flexible
components than awt.In addition to components like
buttons,check boxes and labels they also provide additions
such as tabbed panes,scroll panes and tables.


The main difference between awt and swing is that swing
components are not implemented by platform-specific code,
instead they are written entirely in Java and therefore are
platform-independent.

swing includes more graphic components then awt.Ritesh sharma

AWT - Heavy weight component.
it will invoke native methods.
awt has main() method.

SWING - Light weight component.
It doesn't invoke native methods.
swing has not main()

Is This Answer Correct ?    13 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is java used for?

1060


What is use of inner class in java?

1239


What are namespaces in java?

1084


What type of value does sizeof return?

1071


What is the purpose of the finally clause of a try-catch-finally statement in java programming?

1011


give an example for encapsulation?

1093


explain the concept of virtual method invocation in polymorphism in detail?

2269


What is jit compiler ?

1039


Why destructor is not used in java?

1032


What access modifiers can be used for variables?

1209


what is the difference between Object Based Language and Object Oriented Language?

1086


What does the append?

1056


What is += mean in java?

1054


How can we make copy of a java object?

1213


What is local declaration?

1035