*squints at code*
.....
Haha, silly me. I missed this at first glance.
1) instead of *.addActionPerformed(this); use *.addActionListener(this);
2) e.getSource() returns anObject, and switch statements work with int values. ;) Might wanna reconsider, with casting and/or an if-else statement.
Cudmore
Junior Poster in Training
74 posts since Nov 2005
Reputation Points: 20
Solved Threads: 6