©1994-2003 Kevin Boone
Home     Section index     K-Zone home

Site search

Glossary
Confused by computer jargon? Look it up!

Shameless plug


Now available!

Articles
- Ten-minute guide to setting up a WAP site

- Talk like your boss: new developments in managerese

More...

Development
File handling in the Linux kernel

Java development for the Sony-Ericsson P800

SunONE Application Server 7 FAQ

More...

Linux
Using Linux with the Treo 600

- Linux on the Tecra M1

- Some notes on openzaurus

More...

Download
Java stuff

Linux stuff

More...

(Please read the download policy)

Home automation
The X10 system

Linux TW723 driver

More...

The K-Zone
K-Zone computing

K-Zone law

K-Zone education and science

K-Zone motorcycles

K-Zone DIY

K-Zone railways

K-Zone martial arts

About the author

K-Zone home page

  Simple Java programs

`Hello1' example program: very simple `Hello world' program
`Add1' example program: add two numbers
`Add1_1' example program: add two numbers
`AwtTest' example program: displays AWT objects
`Button1' example program: creates a button
`Button2' example program: creates several buttons
`Calculator' example program: an applet that implements a simple, 4-function calculator
`CalculatorApp' example program: an application based on the Calculator applet
`ClockApplet' example program: an applet that displays a clock
`CountSpace1' example program: demonstrates string-array interaction
`DateTime' example program: an applet that displays that date and time
`Div1' example program: demonstrates how to avoid the pitfall of integer division
`DoNothing' example program: an application that does nothing (used to embed applets)
`Factorial1' example program: demonstrates loop operations
`Factorial2' example program: demonstrates simple function calling
`FontChooser' example program: selects fonts; demonstrates AWT principles
`IfTest' example program: demonstrates nested `if's; work out what the result should be
`Inheritance1' example program: demonstrates inheritance; work out what the result should be
`Loan' example program: an applet to work out loan repayment times
`DiceThrower' example program: displays dice patterns; demonstrates image handling
`MultiplicationTable' example program: displays multiplication tables; demonstrates loop operations
`Queue' example program: simulate queuing; demonstrates multi-threaded simulations
`Reverse1' example program: reverse a string; demonstrates string handling
`SoundApplet' example program: plays sound samples; demonstrates sound handling
`Stressometer' example program: demonstrates animation in applets
`TextReaderTest' example program: demonstrates encapsulation of file handling classes
`WebMerge' example program: merges HTML files; demonstrates file handling
`Zener' example program: displays random Zener cards; demonstrates image handling