Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2011-09-15
4
Medium Priority
?
401 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

The top UI technologies you need to be aware of

An important part of the job as a front-end developer is to stay up to date and in contact with new tools, trends and workflows. That’s why you cannot miss this upcoming webinar to explore the latest trends in UI technologies!

Question has a verified solution.

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

In this post we will learn different types of Android Layout and some basics of an Android App.
A solution for Fortify Path Manipulation.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses

715 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