Battleship using Java Swing