|
@ -60,7 +60,8 @@ GridBagConstraints gbc; |
|
|
|
|
|
|
|
|
LosingPanel = new JPanel(); |
|
|
LosingPanel = new JPanel(); |
|
|
LosingPanel.setLayout(new GridBagLayout()); |
|
|
LosingPanel.setLayout(new GridBagLayout()); |
|
|
LosingLabel = new JLabel("Du hast Verloren!"); |
|
|
|
|
|
|
|
|
LosingLabel = new JLabel(); |
|
|
|
|
|
LosingLabel.setText("Du hast Frage " + (counter - 1) + " falsch beantwortet"); |
|
|
LosingLabel.setVerticalAlignment(JLabel.CENTER); |
|
|
LosingLabel.setVerticalAlignment(JLabel.CENTER); |
|
|
LosingLabel.setHorizontalAlignment(JLabel.CENTER); |
|
|
LosingLabel.setHorizontalAlignment(JLabel.CENTER); |
|
|
LosingLabel.setFont(new Font("Serif", Font.BOLD, 28)); |
|
|
LosingLabel.setFont(new Font("Serif", Font.BOLD, 28)); |
|
|