Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Java Example Java Swing Java Swing

Related Tutorials


 
 

Share on Google+Share on Google+

Java Swing

Advertisement
After learning AWT, lets now see what's Swing? Well, Swing is important to develop Java programs with a graphical user interface (GUI).

Java Swing

     


After learning AWT, lets now see what's Swing? Well, Swing is important to develop Java programs with a graphical user interface (GUI). There are many components which are used for the building of GUI in Swing. The Swing Toolkit consists of many components for the building of GUI. These components are also helpful in providing interactivity to Java applications. Following are components which are included in Swing toolkit:

  • list controls
  • buttons
  • labels
  • tree controls
  • table controls

All AWT flexible components can be handled by the Java Swing. Swing toolkit contains far more components than the simple component toolkit. It is unique to any other toolkit in the way that it supports integrated internationalization, a highly customizable text package, rich undo support etc. Not only this you can also create your own look and feel using Swing other than the ones that are supported by it. The customized look and feel can be created using Synth which is specially designed. Not to forget that Swing also contains the basic user interface such as customizable painting, event handling, drag and drop etc.

The Java Foundation Classes (JFC) which supports many more features important to a GUI program comprises of Swing as well. The features which are supported by Java Foundation Classes (JFC) are the ability to create a program that can work in different languages, the ability to add rich graphics functionality etc.

The features which are provided by Swing and the Java Foundation Classes are as follows:

Swing GUI Components 

There are several components contained in Swing toolkit such as check boxes, buttons, tables, text etc. Some very simple components also provide sophisticated functionality. For instance, text fields provide formatted text input or password field behavior. Furthermore, the file browsers and dialogs can be used according to one's need and can even be customized.

 

Advertisements

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: May 22, 2009

Related Tutorials

Discuss: Java Swing   View All Comments

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:17
manu
December 21, 2011
jj

i like it.bt need 2 improve
Deepak Kumar yadav
January 31, 2012
All Swing components with example

I want to learn all Swings component with example
Roz Gerhardth V. Estrada
May 12, 2012
acount

for just an exampled
rajagopal
June 20, 2012
java swing

thank you
nitin
August 14, 2012
great tutorials

nice one
saara
August 28, 2012
core java

need ur guidance more
sandeep singh
November 4, 2012
swing and awt

does the swing overlap the awt which is advanced work tool and the animation of both these field relate to each other or not?
santhosh
December 3, 2012
swing

send me sample program of employeement registration form
vikas pal
November 7, 2011
java

tis site is very useful.
DMCA.com