F:\j2sdk1.4.2_07\bin>javac -classpath C:\WTK20\lib\midpapi\ -nowarn -d release H ardDriveGame\src\HardDriveMIDlet.java HardDriveGame\src\HardDriveMIDlet.java:13: cannot resolve symbol symbol : class HardDriveCanvas location: class HardDriveMIDlet private HardDriveCanvas hdCanvas; ^ HardDriveGame\src\HardDriveMIDlet.java:14: cannot resolve symbol symbol : class GameOverCanvas location: class HardDriveMIDlet private GameOverCanvas goCanvas; ^ HardDriveGame\src\HardDriveMIDlet.java:26: cannot resolve symbol symbol : class HardDriveCanvas location: class HardDriveMIDlet hdCanvas = new HardDriveCanvas(this, "/car.png", "/obsta cle.png"); ^ HardDriveGame\src\HardDriveMIDlet.java:61: cannot resolve symbol symbol : class GameOverCanvas location: class HardDriveMIDlet goCanvas = new GameOverCanvas(this, time, score); ^ 4 errors
1. put your classes in a package - using the default package creates all sorts of confusing errors because Java makes assumptions about where to find the classes. 2. change your posting name - we do not appreciate dealing with obvious fake names Bill
Sorry, but I have to disagree with this. In J2ME it is a best practice not to create packages. This is because of the little extra bytes that it uses up, that on a J2ME device might be a precious commodity.
Actually, what I see is that those classes aren't written yet. I know it owuld be a lot of code, but are those Canvasas in their own package? If so, remove the package line form those classes.