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
Can a static class have a constructor?
What is your platform?s default character encoding and how to know this?
Can java run on google chrome?
what is mena by object block any what is the use of that
What are the disadvantages of using inner classes?
What is the right data type to represent a price in java?
What is the arraylist in java?
In Java list the methods that can be overridden?
How do you remove duplicates in java?
How do you sort a list in java?
Can a class with private constructor be extended?
23. Storage space in java is of the form Stack Queue Heap List 24. What is java code embedded in a web page known as Applets Servlets scriptlets snippets 25. Which of the following attributes are compulsory with an
Is simpledateformat safe to use in the multithreaded program?
Explain about class in java?
What is thread count in java?