diff --git a/Workspace/client/src/main/java/com/pqt/client/gui/ressources/components/CommandComposerSaleDisplayer.java b/Workspace/client/src/main/java/com/pqt/client/gui/ressources/components/CommandComposerSaleDisplayer.java index 5fec3ecf..69da7a84 100644 --- a/Workspace/client/src/main/java/com/pqt/client/gui/ressources/components/CommandComposerSaleDisplayer.java +++ b/Workspace/client/src/main/java/com/pqt/client/gui/ressources/components/CommandComposerSaleDisplayer.java @@ -8,7 +8,6 @@ import com.pqt.client.gui.ressources.strings.GUIStringTool; import com.pqt.core.entities.product.Product; import com.pqt.core.entities.sale.Sale; import javafx.application.Platform; -import javafx.collections.FXCollections; import javafx.geometry.Pos; import javafx.scene.control.*; import javafx.scene.input.KeyCode; @@ -16,8 +15,6 @@ import javafx.scene.layout.BorderPane; import javafx.scene.layout.HBox; import javafx.scene.layout.Pane; -import java.util.ArrayList; - public class CommandComposerSaleDisplayer implements IFXSaleDisplayerComponent { private SimpleSaleComponentFirerer firerer; @@ -35,7 +32,7 @@ public class CommandComposerSaleDisplayer implements IFXSaleDisplayerComponent { mainPane = new BorderPane(); mainPane.getStyleClass().add("sale-displayer"); - Label title = new Label(GUIStringTool.getCommandComposerTitleTitle()); + Label title = new Label(GUIStringTool.getCommandComposerTitleLabel()); title.setAlignment(Pos.CENTER); title.getStyleClass().add(GUICssTool.getTitleTextStyleClass()); diff --git a/Workspace/client/src/main/java/com/pqt/client/gui/ressources/strings/GUIStringTool.java b/Workspace/client/src/main/java/com/pqt/client/gui/ressources/strings/GUIStringTool.java index 0b69d406..6fb4a0a4 100644 --- a/Workspace/client/src/main/java/com/pqt/client/gui/ressources/strings/GUIStringTool.java +++ b/Workspace/client/src/main/java/com/pqt/client/gui/ressources/strings/GUIStringTool.java @@ -60,7 +60,7 @@ public class GUIStringTool { }; } - public static String getCommandComposerTitleTitle() { + public static String getCommandComposerTitleLabel() { return "Commande"; }