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