Firstly, this belongs in the AWT / Swing subforum. Don't make another thread now, just remember for future posting.

Secondly, please use highlight tags to surround your code in so that it is easy...