This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes why we use swing to create GUI application instead of AWT? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "why we use swing to create GUI application instead of AWT?" Watch "why we use swing to create GUI application instead of AWT?" New topic
Author

why we use swing to create GUI application instead of AWT?

Jagruti Mandir
Greenhorn

Joined: Sep 05, 2012
Posts: 3
we can also use AWT(Absract Window Toolkit).but when it is used to create component, it's called its native method. native method is written in C language.
but C is platfom depended language. so, look and feel of the component is different for different platform(operating system). so, devloper can't make sure about appearence of his GUI. so,it's better to use swing rather than AWT.

AWT component is heavyweighted means use more system resources(memory,processor time).
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: why we use swing to create GUI application instead of AWT?
 
Similar Threads
what is the meaning of Heavy weighted component and light weighted component.
what is peer ?
Awt VS Swing
Difficulty in Java 1.5
A Java Newbie