*squints at code*
.....
Haha, silly me. I missed this at first glance.
1) instead of
*.addActionPerformed(this); use
*.addActionListener(this);
2)
e.getSource() returns an
Object, and switch statements work with
int values.

Might wanna reconsider, with casting and/or an if-else statement.
Reputation Points: 20
Solved Threads: 6
Junior Poster in Training
Offline 74 posts
since Nov 2005