From 801e500e5a17c1179757ed6de3242aa887defabd Mon Sep 17 00:00:00 2001 From: Dennis Eisold <de@itstall.de> Date: Thu, 5 Dec 2019 02:06:30 +0100 Subject: [PATCH] =?UTF-8?q?Ein=20wenig=20Code=20aufger=C3=A4umt=20und=20Wa?= =?UTF-8?q?rnungen=20behoben?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/projekt/enigma/App.java | 54 ++----------------- .../java/projekt/enigma/model/Steckbrett.java | 1 - 2 files changed, 3 insertions(+), 52 deletions(-) diff --git a/src/main/java/projekt/enigma/App.java b/src/main/java/projekt/enigma/App.java index deb3060..c27ee29 100644 --- a/src/main/java/projekt/enigma/App.java +++ b/src/main/java/projekt/enigma/App.java @@ -4,7 +4,9 @@ import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.geometry.Insets; import javafx.scene.Scene; -import javafx.scene.control.*; +import javafx.scene.control.Button; +import javafx.scene.control.Label; +import javafx.scene.control.TextField; import javafx.scene.input.KeyCode; import javafx.scene.layout.VBox; import javafx.stage.Stage; @@ -128,54 +130,4 @@ public class App extends Application { return result; } -// /** -// * TODO Dokumentieren -// */ -// private static Scene scene; -// /** -// * TODO Dokumentieren -// * -// * @param fxml -// * @throws IOException -// */ -// static void setRoot(String fxml) throws IOException { -// scene.setRoot(loadFXML(fxml)); -// -// } -// -// /** -// * TODO Dokumentieren -// * -// * @param fxml -// * @return -// * @throws IOException -// */ -// private static Parent loadFXML(String fxml) throws IOException { -// FXMLLoader fxmlLoader = new FXMLLoader(App.class.getResource(fxml + ".fxml")); -// return fxmlLoader.load(); -// } -// -// /** -// * TODO Dokumentieren -// * -// * @param args -// */ -// public static void main(String[] args) { -// Application.launch(); -// } -// -// /** -// * TODO Dokumentieren -// * -// * @param stage -// * @throws IOException -// */ -// @Override -// public void start(Stage stage) throws IOException { -// scene = new Scene(loadFXML("kenngruppe")); -// stage.setScene(scene); -// stage.setResizable(true); -// stage.show(); -// } - } diff --git a/src/main/java/projekt/enigma/model/Steckbrett.java b/src/main/java/projekt/enigma/model/Steckbrett.java index de70a0f..727973d 100644 --- a/src/main/java/projekt/enigma/model/Steckbrett.java +++ b/src/main/java/projekt/enigma/model/Steckbrett.java @@ -1,7 +1,6 @@ package projekt.enigma.model; /** - * TODO: Dokumentation aktuallisieren * <p> * Klasse Steckbrett * <br> -- GitLab