Battleship game in java swing using GUI's