add java doc to game canvas