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 jfc swing in java?
What are the components of swing?
What is jpanel in java swing with example?
What is swing control?
What is the difference between invokeAndWait() and invokeLater()?
Which method is used by the applet to recognize the height and width?
Explain the difference between swing and jsf.
What is import javax swing in java?
How to perform action on button in java swing?
Is swing an api?
How to create a swing gui in java?
How to print in java swing application?
What is java swing components?
What is the relationship between clipping and repainting?
What is swing in java javatpoint?