Update JavaGame.java