From b399eec448bd12256b7f9e99c3108beef6abdbe9 Mon Sep 17 00:00:00 2001 From: Mat Date: Thu, 18 May 2023 18:29:54 +0200 Subject: [PATCH] Clear the MenuAccueil page --- app/src/main/java/school_project/Menu/MenuAccueil.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/school_project/Menu/MenuAccueil.java b/app/src/main/java/school_project/Menu/MenuAccueil.java index cf73c13..e176d96 100644 --- a/app/src/main/java/school_project/Menu/MenuAccueil.java +++ b/app/src/main/java/school_project/Menu/MenuAccueil.java @@ -4,7 +4,6 @@ import javafx.geometry.Pos; import javafx.scene.control.Button; import javafx.scene.control.ChoiceBox; import javafx.scene.control.Label; -import javafx.scene.layout.BorderPane; import javafx.scene.layout.StackPane; import javafx.scene.paint.Color; import javafx.scene.text.Font; @@ -27,7 +26,7 @@ public class MenuAccueil extends StackPane { Label RdmLvl = new Label("Random Level : "); Button LoadLvl = new Button("Load game"); Button SelectLevel= new Button("Select Level"); - Button Trophy = new Button("Trophy"); + Label Title = new Label("Welcome to Road to Master"); SlctDifficulty.setOnAction(event -> { String choosediff = SlctDifficulty.getSelectionModel().getSelectedItem();