| JTF > Demo Gallery > Simple Programs |
This page provides links to programs that illustrate how to
create simple programs of the three standard Program subclasses:
GraphicsProgram,
ConsoleProgram, and
DialogProgram.
The more advanced features of these classes and the supporting packages are described in
subsequent sections of the demo gallery.
In the table below, clicking on the thumbnail runs the program as an applet.
Clicking on the filename downloads the code.
Hello.zip
Program subclasses.
|
|
Add2.zip
ConsoleProgram
and one written as a DialogProgramof a program to add two numbers
entered by the user.
|
|
|
|