diff --git a/src/main/java/Gui/GameGui.java b/src/main/java/Gui/GameGui.java index a005f4e..251dfba 100644 --- a/src/main/java/Gui/GameGui.java +++ b/src/main/java/Gui/GameGui.java @@ -60,7 +60,8 @@ GridBagConstraints gbc; LosingPanel = new JPanel(); 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.setHorizontalAlignment(JLabel.CENTER); LosingLabel.setFont(new Font("Serif", Font.BOLD, 28));