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
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.