The applet on this page is a tetris applet. It requires a Java 1.0/1.1 compatible browser (it has been tested with Netscape 3.04+ and MSIE 4+). Note that if your browser is not fully JDK 1.1 compliant (MSIE < 4.0, NS < 6), then the strands will all appear to be very similar...

The commands are as follows:
(You will have to click on the applet to select it before doing these...)
Start Game: Any Key
Left  : J
Rotate: K
Right : L
Drop  : Space
The current source code is:here. It's source code. It's not terribly useful, nor very adaptable to doing anything other than Tetris. If you are taking a class which requires that you write Tetris in java (e.g. CS15), then you should not look at the code for any reason.
1) I don't want to get in trouble for "collaborating".
2) It's NOT a good example of Object Oriented design.
3) It is written in pseudo 1.0/1.1 to be compatible with ancient browsers.

-Michael "I like Java" Fried