From 07b813f6c6c7645c05eac66c9ab292a1b986ace7 Mon Sep 17 00:00:00 2001 From: Yazan Alaamer Date: Fri, 20 Jan 2023 20:06:53 +0100 Subject: [PATCH] set title name panel & start button unvisible --- src/main/java/game/StartDarkSoulsGame.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/game/StartDarkSoulsGame.java b/src/main/java/game/StartDarkSoulsGame.java index 568ad7f..f38f014 100644 --- a/src/main/java/game/StartDarkSoulsGame.java +++ b/src/main/java/game/StartDarkSoulsGame.java @@ -54,6 +54,11 @@ public class StartDarkSoulsGame { } public void createGameScreen() { + titleNamePanel.setVisible(false); + StartButtonPanel.setVisible(false); + + titleNamePanel.setVisible(false); + StartButtonPanel.setVisible(false); mainTextPanel = new JPanel(); mainTextPanel.setBounds(100, 100, 600,250); mainTextPanel.setBackground(Color.red);