|
@ -28,5 +28,8 @@ GridLayout grid; |
|
|
Headline.setFont(new Font("Serif", Font.BOLD, 28)); |
|
|
Headline.setFont(new Font("Serif", Font.BOLD, 28)); |
|
|
QuestionLabel = new JLabel("Questions"); |
|
|
QuestionLabel = new JLabel("Questions"); |
|
|
MainPanel.add(QuestionLabel); |
|
|
MainPanel.add(QuestionLabel); |
|
|
|
|
|
QuestionLabel.setHorizontalAlignment(JLabel.CENTER); |
|
|
|
|
|
QuestionLabel.setVerticalAlignment(JLabel.NORTH); |
|
|
|
|
|
headingPanel.add(QuestionLabel); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |