joshmo 8 Posting Whiz in Training

I have recently encoutered an error that I have failed to figure out while trying to implement something in MVC. I have used a similar code on another program which seems to work but I cant figure out why this one is not working.
I get the error code "cannot find symbol class myGameModel". this error is repeated for the controller, panel and view.
I will post the controller and model only. Hope to get some advice. thanks.

//CONTROLLER
package Game;
public class myGameController{
	private myGameModel model;
	private myGameView view;
	
	public myGameController(myGameModel model){
		
		this.model=model;	
	}
	
	public void set(myGameView view){
		
		this.view=view;
	}
	
	public void newGame(myGameModel model){
		
		model.newGame();
	}

}

//MODEL
package Game;
import java.util.Observable;
import java.*;

public class myGameModel extends Observable {
	private myGameController controller;
	private boolean turn;
	private int[][] gameBoard=new int[3][3];;
	
	public void newGame()
	{
	           //some code
	}	
}

PS. the above code is just a structure but when I compile the individual files, It cant seem to find other classes

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.