Java Swings/Java Swing

From Wikibooks, open books for an open world
< Java Swings
Jump to: navigation, search

Java Swing is a library / toolkit released by SUN Microsystems as a part of Java language which enables Java programmers to create GUI and rich client applications.

Contents

[edit] Success Stories

There are numerous applications that are written with Java Swings and new one pop up every day. Here are some examples

[edit] NetBeans

NetBeansIDE.png

NetBeans is a Integrated Development Environment (IDE) written completely using Java. It runs on all platforms. Intially it was Java only IDE, but now it supports many languages like C, C++, Python, PHP to name a few.

[edit] Eclipse

Eclipse33 Ubuntu.png

Eclipse is a IDE written with Java, it runs on all platforms. It predates NetBeans. However NetBeans has got the backing of SUN Microsystems (the creator of Java)

[edit] JFC

Swing is a part of Java Foundation classes (JFC). JFC consists of the following modules

JavaSwing0008.svg

Swing GUI Components

Swings GUI components are those which are button's, labels, combobox, text field, rich text editors, lists etc. Many components have features like dracg and drop, sorting, printing, to name a few.

Pluggable Look-and-Feel Support

Look and feel module defines how the component looks and feels to the user. Java sings application has a separate look and feel effect. The programmers can change the look and feel of their application to Windows look and feel or GTK look and feel.There are many hundreds of look and feel available from various sources.

Accessibility API

Not all humans are perfect. There is a good chance that disabled person can use our program, hence your program must be accessible to him / her. JFC Accessibility API enables you to create programs that are accessible by providing these people with screen readers, braille displays so that they can get information from the user interface.

Java 2D API

Java 2D API provides rich set of graphics functions to draw various basic shapes, text and images in your application. Java 2D has API's to generate high quality output to send for printers etc.

Internationalization

English is not the only language on this planet. Many people don't know any other language than their mother tongue. Hence when a programmer writes an application he must consider to release it in as many languages as possible. Java i18n (there are 18 letter's between 'i' and 'n' in Internationalization) helps programmers to develop applications in various different languages, thus you can target global audience.

[edit] Reference

http://java.sun.com/docs/books/tutorial/uiswing/start/about.html

Personal tools
Namespaces
Variants
Actions
Navigation
Community
Toolbox
Sister projects
Print/export