Originally posted by Alexander Skagerlind:
so could you please give me the source code. . .
If you are just curious about
Java, writing a non-trivial GUI program is a recipe for frustration. Like Igor suggested, try doing it as a command-line program. If this is a homework assignment and you have to use a GUI, shame on you for trying to cheat!
In any case, all things Java can be learned through the
Java Tutorial. Plenty of examples there.