Battleship game in Java Swing using GUI's