TetrisKit is a simple Java Swing tetris game. Its coolest feature is you can create new block figures.