Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2011-09-15
4
Medium Priority
?
407 Views
Last Modified: 2012-05-12
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?
0
Comment
Question by:Eindoofus
  • 4
4 Comments
 
LVL 47

Accepted Solution

by:
for_yan earned 2000 total points
ID: 36545184


Yes Swing is newer, AWT was original
Swing is more beautiful has more options more lightweight
Better to use Swing

There is also SWT.
But if you are starrttying with it - better tsrta with Swing
0
 
LVL 47

Expert Comment

by:for_yan
ID: 36545192
0
 
LVL 47

Expert Comment

by:for_yan
ID: 36545196

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.
0
 
LVL 47

Expert Comment

by:for_yan
ID: 36545207
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
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question