Repaired the problem with the right mouse button. Finished the gameWindow and gamePanel classes. Divided some content from the gamewindow class to a new subclass testgamewindow