File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: why we use swing to create GUI application instead of AWT?
 
Similar Threads
what is peer ?
Awt VS Swing
A Java Newbie
what is the meaning of Heavy weighted component and light weighted component.
Difficulty in Java 1.5