Exercises, examples and other material relating to training module J802. This topic is presented on public course Java Extra
The Abstract Windowing Toolkit provides Java's fundamental graphics capability. You can program the AWT directly, or you can use other packages such as Swing if you want to write your applications at a higher level. The AWT is most often used for interactive applications, either for providing local GUIs or applets, but it can also be used as a painting tool for the production of .jpg or .png outputs.
Related technical and longer articlesGraphic User Interfaces (GUIs)
|Articles and tips on this subject||updated|
|3049||Computer Graphics is fun - even if Java Applets are Old Hat|
Applets - small applications which include a Graphic User Interface in them - are where Java started ... but they didn't grow as much as other uses of Java and these days they're something of a specialist interest - great for some Intranet applications, but not so common / practical on applications that ...
|2649||Length, size or capacity in Java?|
You get the length of an array, but you ask about the size() of an ArrayList, and you can inquire into the capacity() of a StringBuffer. Aren't they really all the same sort of thing? Which does Java use in which circumstance?
Java uses the word length when you're asking about something that can be ...
|2654||Java - from applets to servlets. JSPs and more|
When Java first came out in the mid 1990s, its main focus was on Applets - embedded chunks of applications that ran (and still run!) in a frame within a browser's window in much the same say that an image or flash movie is framed.
Java has progressed. It now has a far bigger 'market' in a whole range ...
|2245||Client side (Applet) and Server side (Servlet) Graphics in Java|
What is the current release of Java? Is it Java 1.6, Java 2 (1.6) or Java 6? Yes it is - they're all different names for the same thing!
Java started out as Java 1.0 ... and since code that would run on that Virtual Machine / written in that language will still run on today's version, it's still technically ...
|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 http://www.training-notes.co.uk
Topics covered in this module
What is the AWT?.
What is an applet?.
Elements of the AWT.
Drawing graphics on a canvas.
Example maple explained.
A simple bar chart.
World and pixel coordinate systems.
An example with components and events.
A stand-alone GUI with text and events.
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. Also
available is the Opentalk
Forum for discussion of technical questions.