There are two ways you can use these programs. Either download the class, and try and write a program which will do the same thing , or download the java, and fiddle with it to see how it works. I recommend trying to write it yourself first.
The "What it shows" assumes you know the very basics, and only picks on the easiest program to use these ideas. Other programs may demonstrate the same ideas, but are more complicated.
This page is only updated occasionally. It appears to be in a bit of a mess, and this is being fixed before any new sample programs are being written.
|Program||Command line||Swing||JApplet||What it shows|
|Funny Name||Command line inputs
|Index Demo||indexOf for Strings|
|Leet||Switch on char
How to talk like a hax0r
|Brackets checker||Stack class|
equals() for Strings.
Loading & saving files
Menus being useful
|Basic Random||Random Numbers|