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
What is event in java swing?
What class is at the top of the AWT event hierarchy?
What are the different types of layout managers used in swing?
Is javafx better than swing?
How is parsing html used in swing?
How to change button color in java swing?
Why are swing components called lightweight?
What is java swing gui?
Is swing better than awt?
What are swing components?
Is java swing deprecated?
How to create image slideshow in java swing?
Why do we use swing in java?
Where is java swing used?
What is difference between swing and awt?