diff --git a/src/main/java/BattleShip/AIGridGUI.java b/src/main/java/BattleShip/AIGridGUI.java index feb217f..ce216fa 100644 --- a/src/main/java/BattleShip/AIGridGUI.java +++ b/src/main/java/BattleShip/AIGridGUI.java @@ -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.blue); - bsb.setBorder(raisedbevel); + bsb.setBorder(loweredBevel); } else { //If mouse exited, unhighlight cells. bsb.setBorder(compound);