Browse Source

Add Questions Label

master
Leon Montag 2 years ago
parent
commit
1ffca03e88
  1. 4
      src/main/java/Gui/GameGui.java

4
src/main/java/Gui/GameGui.java

@ -9,7 +9,7 @@ import javax.swing.JPanel;
public class GameGui { public class GameGui {
public static JPanel MainPanel, ButtonPanel, headingPanel; public static JPanel MainPanel, ButtonPanel, headingPanel;
public static JLabel Headline;
public static JLabel Headline,QuestionLabel;
GridLayout grid; GridLayout grid;
@ -26,5 +26,7 @@ GridLayout grid;
MainPanel.add(headingPanel); MainPanel.add(headingPanel);
Headline.setHorizontalAlignment(JLabel.CENTER); Headline.setHorizontalAlignment(JLabel.CENTER);
Headline.setFont(new Font("Serif", Font.BOLD, 28)); Headline.setFont(new Font("Serif", Font.BOLD, 28));
QuestionLabel = new JLabel("Questions");
MainPanel.add(QuestionLabel);
} }
} }
Loading…
Cancel
Save