summaryrefslogtreecommitdiffstats
path: root/src/de/fhswf/in/inf/UpnFx/MainApp.java
diff options
context:
space:
mode:
authorStefan Suhren <suhren.stefan@fh-swf.de>2015-06-09 09:13:55 +0200
committerStefan Suhren <suhren.stefan@fh-swf.de>2015-06-09 09:13:55 +0200
commitd8cd813ddc54c455eb3071795038b97b72dc1ee9 (patch)
tree3da37c0ec1d4d0f2de6e3e1a981542df8222ae6d /src/de/fhswf/in/inf/UpnFx/MainApp.java
parentf74cd282da1f14bc3d2d768b2f68b8f6d6429e68 (diff)
downloadUpnFx-d8cd813ddc54c455eb3071795038b97b72dc1ee9.tar.gz
UpnFx-d8cd813ddc54c455eb3071795038b97b72dc1ee9.zip
Add working version of UpnFx
Diffstat (limited to 'src/de/fhswf/in/inf/UpnFx/MainApp.java')
-rw-r--r--src/de/fhswf/in/inf/UpnFx/MainApp.java50
1 files changed, 0 insertions, 50 deletions
diff --git a/src/de/fhswf/in/inf/UpnFx/MainApp.java b/src/de/fhswf/in/inf/UpnFx/MainApp.java
deleted file mode 100644
index 5d5e049..0000000
--- a/src/de/fhswf/in/inf/UpnFx/MainApp.java
+++ /dev/null
@@ -1,50 +0,0 @@
-package de.fhswf.in.inf.UpnFx;
-
-import javafx.application.Application;
-import javafx.fxml.FXMLLoader;
-import javafx.scene.Scene;
-import javafx.scene.layout.AnchorPane;
-import javafx.stage.Stage;
-
-/**
- * This is the starting point for the application.
- *
- * @author Stefan Suhren
- * @version 1.0
- */
-public class MainApp extends Application
-{
- /*
- * (non-Javadoc)
- *
- * @see javafx.application.Application#start(javafx.stage.Stage)
- */
- @Override
- public void start(Stage primaryStage)
- {
- try
- {
- AnchorPane apane = FXMLLoader.load(MainApp.class
- .getResource("view/MainView.fxml"));
- Scene scene = new Scene(apane);
- primaryStage.setScene(scene);
- primaryStage.setTitle("UpnFx");
- primaryStage.show();
- }
- catch (Exception e)
- {
- e.printStackTrace();
- }
- }
-
- /**
- * The main function.
- *
- * @param args
- * The command line arguments
- */
- public static void main(String[] args)
- {
- launch(args);
- }
-}