Issue compiling Java Code
I have a .java file containing a class extending JApplet. I have a second .java file containing a class extending JPanel. Both files are located in the directory C:...../files/mods/md/.
In my JApplet class I try and create an instance of the JPanel class I created but (after I compile the JPanel class) the JApplet class fails to compile. Both classes have the first line as package mods.md;
Any suggestions what could be causing this problem? There are 2 errors in my JApplet class each point to the JPanel class references (i.e. MDrawing mObject = new MDrawing(); => errors point to MDrawing).