Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact

Related technical and longer articles
Graphic User Interfaces (GUIs)
Tips and short articles on this subject
Client side (Applet) and Server side (Servlet) Graphics in Java
Java - Client side applet applications as well as server side
Well House Consultants
You are on the site of Well House Consultants who provide Open Source Training Courses and business hotel accommodation. You are welcome to browse and use our resources subject to our copyright statement and to add in links from your pages to ours.
Other subject areas - resources
Java Resources
Well House Manor Resources
Perl Resources
Python Resources
PHP Resources
Object Orientation and General topics
MySQL Resources
Linux / LAMP / Tomcat Resources
Well House Consultants Resources
Extras Resources
C and C++ Resources
Ruby Resources
Tcl/Tk Resources
Web and Intranet Resources
Java module J802
Abstract Windowing Toolkit
Exercises, examples and other material relating to training module J802. This topic is presented on public course Java Extra

Java Extra - Subjects not covered on regular public courses! Individual Java users will need different advanced topics depending on their application. ...
http://www.wellho.net/course/jxfull.html  [course]
Many of the scripting languages we teach include the ability to provide a GUI - a Graphic User Interface. I ll describe some particular GUIs later in ...
http://www.wellho.net/solutions/general- ... -guis.html  [longer article]
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 ...
http://www.wellho.net/mouth/2245_Cli ... -Java.html  [short article]
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 ...
http://www.wellho.net/mouth/1325_Jav ... -side.html  [short article]
// Graphics applet with nested panels and layouts import java.awt.*; import java.applet.*; public class yew extends Applet { Panel left,right; int ...
http://www.wellho.net/resources/ex.php4?item=j802/yew.java  [code sample]
// Well House Consultants, 2005. /** Most Basic Graphing Applet */ import java.awt.*; public class acorn extends java.applet.Applet { public void ...
http://www.wellho.net/resources/ex.php4?item=j802/acorn.java  [code sample]
/** Demonstration applet, also runs stand alone */ import java.awt.*; import java.applet.*; import java.awt.event.*; public class awtfont extends Applet ...
http://www.wellho.net/resources/ex.php4?item=j802/awtfont.java  [code sample]

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.

This topic is presented on public course Java Extra

Examples from our training material
acorn.java   Basic Graphic Applet
ash.java   Constructs and scaling - AWT and Applets
awtfont.java   Fonts, text manipulation, graphics. Applet or stand alone application.
magpie.java   A Histogram of financila results
skylark.java   General Purpose Graphing Applet
yew.java   Applet, nested panels and layouts
Background information
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.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule page.

Well House Consultants specialise in training courses in Java,Python, Perl, PHP, and MySQL. We run Private Courses throughout the UK (and beyond for longer courses), and Public Courses 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.


You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2010: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho