You code needs to be in a method. You currently have it in the body of the class itself.
Look at your other programs or examples and note how they declare a main() method and put the code in there.
Ezzaral
Posting Genius
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847