diff --git a/src/Test/MainMenu.java b/src/Test/MainMenu.java index f2e6490..723a065 100644 --- a/src/Test/MainMenu.java +++ b/src/Test/MainMenu.java @@ -8,6 +8,7 @@ public class MainMenu extends JFrame { private final static Dimension MINIMUM_SIZE = new Dimension(960, 600); private final CardLayout cards = new CardLayout(), adminCards = new CardLayout(), profCards = new CardLayout(), studentCards = new CardLayout(); private final JPanel adminPanel = new JPanel(), profPanel = new JPanel(), studentPanel = new JPanel(); + private final Color blue = new Color(53, 242, 242); private JMenuBar menuBar; private Controller listener; private AdminView av; @@ -136,7 +137,7 @@ public class MainMenu extends JFrame { studentPanel.setLayout(studentCards); studentPanel.add(cardWithTable(studentView())); studentCards.next(studentPanel); - menuBar.setBackground(Color.BLUE); + menuBar.setBackground(this.blue); } travelThroughCards(index); } @@ -237,7 +238,7 @@ public class MainMenu extends JFrame { } else { this.setTitle(viewName[2]); - menuBar.setBackground(Color.BLUE); + menuBar.setBackground(this.blue); studentPanel.setLayout(studentCards); studentPanel.add(cardWithTable(studentView())); studentCards.next(studentPanel);