Another piece of advice on debugging, if you are using Eclipse IDE, it has a really nice "debug" function. It allows you to see the program run, line by line.
Type: Posts; User: vanDarg
Another piece of advice on debugging, if you are using Eclipse IDE, it has a really nice "debug" function. It allows you to see the program run, line by line.
Make sure you use break statements in your switch.