Solved

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

Posted on 2011-09-15
4
385 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 500 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

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: NO) 1 57
maven disable workspace resolution 1 37
jmeter usage 4 31
Html split(text) 2 26
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
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:

685 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