Link to home
Start Free TrialLog in
Avatar of Eindoofus
Eindoofus

asked on

What types of Java GUIs are out there and when are they typically used?

I came across "Swing" and "AWT" while searching the net. Is "Swing" still the newest, and if so what's better about it? Is "AWT" ever used, and if so why?Are there any other types of Java GUIs out there?
ASKER CERTIFIED SOLUTION
Avatar of for_yan
for_yan
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial

This is important:

The base difference that which already everyone mentioned is that One is heavy weight and other is light weight. Let me explain, bacially what the term heavy weight means is that when you are using the awt components the native code used for getting the view component is generated by the Operating System, thats why it the look and feel changes from OS to OS. Where as in swing components its the responsibility of JVM to generate the view for the components. Another statement which i saw is that swing is MVC based and awt is not.
This is about Swing and SWT
but if you are startin, I'd rather star with Swing - it is much more common

http://www.developer.com/java/other/article.php/2179061/Swing-and-SWT-A-Tale-of-Two-Java-GUI-Libraries.htm