|
@ -1,5 +1,6 @@ |
|
|
package Gui; |
|
|
package Gui; |
|
|
|
|
|
|
|
|
|
|
|
import java.awt.Font; |
|
|
import java.awt.GridLayout; |
|
|
import java.awt.GridLayout; |
|
|
|
|
|
|
|
|
import javax.swing.JLabel; |
|
|
import javax.swing.JLabel; |
|
@ -23,5 +24,7 @@ GridLayout grid; |
|
|
Headline = new JLabel("Wer wird Millionär?"); |
|
|
Headline = new JLabel("Wer wird Millionär?"); |
|
|
headingPanel.add(Headline); |
|
|
headingPanel.add(Headline); |
|
|
MainPanel.add(headingPanel); |
|
|
MainPanel.add(headingPanel); |
|
|
|
|
|
Headline.setHorizontalAlignment(JLabel.CENTER); |
|
|
|
|
|
Headline.setFont(new Font("Serif", Font.BOLD, 28)); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |