diff --git a/src/main/java/BattleShip/AIGridGUI.java b/src/main/java/BattleShip/AIGridGUI.java index c012d19..ce216fa 100644 --- a/src/main/java/BattleShip/AIGridGUI.java +++ b/src/main/java/BattleShip/AIGridGUI.java @@ -343,7 +343,7 @@ public class AIGridGUI extends JPanel { if(s == null) { //If no ship in that cell, mark as a miss. text = "Other player missed. Your turn."; - b.setBackground(Color.BLUE); + b.setBackground(Color.lightGray); } else { //Check if guess killed a ship. killed = s.counter(); @@ -522,13 +522,13 @@ public class AIGridGUI extends JPanel { BSButton bsb = buttons.get(cell.getGridLocation() + (i * columns)); //If mouse entered, highlight cells via lowered bevel. if(action == 1) { - bsb.setBorder(raisedbevel); + bsb.setBorder(loweredBevel); } else { //If mouse released, place ship and color ship cells. if(action == 2) { bsb.setCellContents(shipToPlace); - bsb.setBackground(Color.gray); - bsb.setBorder(raisedbevel); + bsb.setBackground(Color.blue); + bsb.setBorder(loweredBevel); } else { //If mouse exited, unhighlight cells. bsb.setBorder(compound); diff --git a/target/classes/BattleShip/AIGridGUI.class b/target/classes/BattleShip/AIGridGUI.class index 6004fa5..a8a030f 100644 Binary files a/target/classes/BattleShip/AIGridGUI.class and b/target/classes/BattleShip/AIGridGUI.class differ