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 swing in java with example?
What is swing package in java?
Write a program to include the internal frame in swing.
Which layout does swing use by default?
What is the difference between swing and awt in java?
What are the differences between Swing and AWT?
What is javax swing joptionpane?
Why are swing components called lightweight components?
What is difference between awt and swing?
How to perform action on button in java swing?
What is an event handler in swing?
What are the benefits of swing over awt?
Why swing is better than awt?
What is java swing application?
What is jpanel in java swing with example?