Exercises, examples and other material relating to training module J902. This topic is presented on public courses Java Programming for the Web
, Java Extra
The original graphics classes of Java Ð the AWT Ð provide functionallity at a very low level. A lot of coding effort is required to provide even a simple GUI. The Swing classes are built on top of the AWT and largely suplant it; they provide much higher level components so that you can rapidly bolt together the look, feel and functionallity for a graphic-driven application.
Related technical and longer articlesGraphic User Interfaces (GUIs)Extending Graphics in JavaExtending Graphics in Java Part 3Extending Graphics in Java part 2
|Articles and tips on this subject||updated|
|1326||GUI design - Sketch it out first! (Java / Swing example)|
"A picture paints a thousand words" ... and so it is when you're planning a graphic user interface, and implementing it. Yesterday, I picked up an old example of a dialer written in Java - you can see the actual window it generates on the right - and was looking to work out how it hung together.
|1325||Java - Client side applet applications as well as server side|
Java started off as being a client side language - and our first (1996) course concentrated on Applets and the awt - Abstract Windowing Toolkit - to which Swing was added quite soon. But Applets took off slowly, whereas Servlets - Java as a server side language - grew by leaps and bounds and our courses ...
Examples from our training material
Some modules are available for download
as a sample of our material or under an Open Training Notes License
for free download from [here]
Topics covered in this module
Hello Swing World.
Using multiple components.
Feedback from events on individual components.
Providing feedback in the GUI.
Hello Swing World as an applet.
A Complete GUI on an applet.
More Complex Swing.
The JTree component.
The JTable Component.
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule
Well House Consultants specialise in training courses in
. We run
throughout the UK (and beyond for longer courses), and
at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if you live in a different
country or continent to us
We have a technical library of over 700 books on the subjects on which we teach.
These books are available for reference at our training centre.