Some errors I found that hopefully will save some other beginners the time I have just spent working them out.
In order to get the code to work as quoted in 2nd Edition,
in SimpleDotComGame class, the line:
or i guess you could change the name of GameHelper.class to helper.class. Also in GameHelper(/helper)
hope that helps.
Another also is that I didn't think it was made obvious that each class needs to be saved in a separate .java file, but then only the one with the main method in needs to be compiled. [ January 23, 2008: Message edited by: Rob Gman ]
posted 8 years ago
Welcome to the Ranch.
Please check the original code of the application carefully. I am sure they would have written "static" if they had meant the method to be static.
Maybe you were supposed to instantiate the GameHelper class to create an object called helper, and have forgotten to?