summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlhan Özgen <ilhan.oezgen@wahyd.tu-berlin.de>2017-06-09 10:35:43 +0200
committerIlhan Özgen <ilhan.oezgen@wahyd.tu-berlin.de>2017-06-09 10:35:43 +0200
commit86dadcb5cc80783e552bffd8e8e14d06b8380182 (patch)
tree6b585f59ce1975f77b9d4a1570fdf5ff780d996f
parentaff364654fa68998eb33774122c946fcec828413 (diff)
remove gui implementation
-rw-r--r--gui/GUISetup.java66
1 files changed, 0 insertions, 66 deletions
diff --git a/gui/GUISetup.java b/gui/GUISetup.java
deleted file mode 100644
index ea5934a..0000000
--- a/gui/GUISetup.java
+++ /dev/null
@@ -1,66 +0,0 @@
-import javafx.application.Application;
-import javafx.collections.FXCollections;
-import javafx.geometry.Insets;
-import javafx.geometry.Pos;
-import javafx.scene.Scene;
-import javafx.scene.control.Label;
-import javafx.scene.control.ChoiceBox;
-import javafx.scene.control.TextField;
-import javafx.scene.layout.GridPane;
-import javafx.scene.text.Text;
-import javafx.stage.Stage;
-
-/**
- * GUI application to create ini-file for PYONGYANG
- * @author ilhan oezgen, www.wahyd.tu-berlin.de
- * @date 5.5.17
- **/
-public class GUISetup extends Application {
-
- public static void main(String[] args) {
- launch(args);
- }
-
- @Override
- public void start(Stage primaryStage) {
-
- primaryStage.setTitle("GUI Setup");
-
- GridPane grid = new GridPane();
- grid.setAlignment(Pos.CENTER);
- grid.setHgap(10);
- grid.setVgap(10);
- grid.setPadding(new Insets(25, 25, 25, 25));
-
- Scene scene = new Scene(grid, 600, 275);
-
- Text scenetitle = new Text("PYONGYANG graphical user interface");
- grid.add(scenetitle, 0, 0, 2, 1);
-
- Label avgMethod =
- new Label("averaging method:");
- grid.add(avgMethod, 0, 1);
-
- ChoiceBox avgValue = new ChoiceBox(FXCollections.observableArrayList(
- "harmonic", "arithmetic"));
- grid.add(avgValue, 1, 1);
-
- Label fluxMethod = new Label("flux method:");
- grid.add(fluxMethod, 0, 2);
-
- ChoiceBox fluxValue = new ChoiceBox(FXCollections.observableArrayList(
- "upwind", "central"));
- grid.add(fluxValue, 1, 2);
-
- Label alphaCoeff = new Label("alpha-coefficient");
- grid.add(alphaCoeff, 0, 3);
-
- TextField alphaVal = new TextField();
- grid.add(alphaVal, 1, 3);
-
- primaryStage.setScene(scene);
-
- primaryStage.show();
-
- }
-}