Solved

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

Posted on 2011-09-15
4
370 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
Comment Utility


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
Comment Utility
0
 
LVL 47

Expert Comment

by:for_yan
Comment Utility

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
Comment Utility
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 to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

772 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now