GUI of the game battleship in Java