What is the difference between AWT & Swing?

Answer Posted / hemz

The classes contained in the java.awt package provide a
basic capability to create graphical user interfaces, but
the scope of the tools contained in java.awt is limited.
Furthermore, the actual implementation of the components is
done in a language other than Java, and the look and
behavior of the components is somewhat dependent on the
runtime platform's native environment. AWT components might
act slightly differently on a UNIX system than they would on
a PC.

The Swing classes are the next-generation (Java 2) GUI
classes. They provide a number of new components including
trees, tables, and tooltips, etc. Swing components are
written entirely in Java...

You can read more about swing here :
www.roseindia.net/java/example/java/swing/

Is This Answer Correct ?    56 Yes 19 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is jfc swing in java?

518


What are the components of swing?

522


What is jpanel in java swing with example?

499


What is swing control?

503


What is the difference between invokeAndWait() and invokeLater()?

589






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

642


Explain the difference between swing and jsf.

608


What is import javax swing in java?

505


How to perform action on button in java swing?

496


Is swing an api?

540


How to create a swing gui in java?

520


How to print in java swing application?

501


What is java swing components?

528


What is the relationship between clipping and repainting?

658


What is swing in java javatpoint?

528