|
@ -102,6 +102,7 @@ GridBagConstraints gbc; |
|
|
gui.Frame.add(WinningPanel); |
|
|
gui.Frame.add(WinningPanel); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
public void createShowQuestion() { |
|
|
public void createShowQuestion() { |
|
|
int money[] = {10,20,30,40,50,60,70,80,90,100,110,120,130,140,150}; |
|
|
int money[] = {10,20,30,40,50,60,70,80,90,100,110,120,130,140,150}; |
|
|
String questionText = "Hier wird die Frage stehen"; |
|
|
String questionText = "Hier wird die Frage stehen"; |
|
@ -114,6 +115,7 @@ GridBagConstraints gbc; |
|
|
public void createHeadline() { |
|
|
public void createHeadline() { |
|
|
Headline = new JLabel("Wer wird Millionaer?"); |
|
|
Headline = new JLabel("Wer wird Millionaer?"); |
|
|
headingPanel.add(Headline); |
|
|
headingPanel.add(Headline); |
|
|
|
|
|
ShowQuestionNr = new JLabel(); |
|
|
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)); |
|
|