From 69ebdd3438c3d5a574e037833b6d846d5627539a Mon Sep 17 00:00:00 2001 From: Gabriel Tofvesson Date: Sat, 29 Oct 2016 19:46:40 +0200 Subject: [PATCH] Dank memes broken dreams --- .idea/compiler.xml | 23 +++++ .idea/copyright/profiles_settings.xml | 3 + .idea/description.html | 2 + .idea/encodings.xml | 5 ++ .idea/gradle.xml | 7 ++ .idea/misc.xml | 12 +++ .idea/modules.xml | 8 ++ .idea/uiDesigner.xml | 125 ++++++++++++++++++++++++++ .idea/vcs.xml | 7 ++ TAL.iml | 12 +++ src/sample/Controller.java | 4 + src/sample/Main.java | 24 +++++ src/sample/sample.fxml | 11 +++ 13 files changed, 243 insertions(+) create mode 100644 .idea/compiler.xml create mode 100644 .idea/copyright/profiles_settings.xml create mode 100644 .idea/description.html create mode 100644 .idea/encodings.xml create mode 100644 .idea/gradle.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/uiDesigner.xml create mode 100644 .idea/vcs.xml create mode 100644 TAL.iml create mode 100644 src/sample/Controller.java create mode 100644 src/sample/Main.java create mode 100644 src/sample/sample.fxml diff --git a/.idea/compiler.xml b/.idea/compiler.xml new file mode 100644 index 0000000..217af47 --- /dev/null +++ b/.idea/compiler.xml @@ -0,0 +1,23 @@ + + + + + + diff --git a/.idea/copyright/profiles_settings.xml b/.idea/copyright/profiles_settings.xml new file mode 100644 index 0000000..e7bedf3 --- /dev/null +++ b/.idea/copyright/profiles_settings.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/.idea/description.html b/.idea/description.html new file mode 100644 index 0000000..cc10d56 --- /dev/null +++ b/.idea/description.html @@ -0,0 +1,2 @@ +Simple JavaFX 2.0 application that includes simple .fxml file with attached controller and Main class to quick start. Artifact to build JavaFX application is provided. + \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000..e206d70 --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/.idea/gradle.xml b/.idea/gradle.xml new file mode 100644 index 0000000..157a0c1 --- /dev/null +++ b/.idea/gradle.xml @@ -0,0 +1,7 @@ + + + + + + diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..2404a4c --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..efe37b0 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/uiDesigner.xml b/.idea/uiDesigner.xml new file mode 100644 index 0000000..3b00020 --- /dev/null +++ b/.idea/uiDesigner.xml @@ -0,0 +1,125 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..def6a6a --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/TAL.iml b/TAL.iml new file mode 100644 index 0000000..d5c0743 --- /dev/null +++ b/TAL.iml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/src/sample/Controller.java b/src/sample/Controller.java new file mode 100644 index 0000000..54e5bd1 --- /dev/null +++ b/src/sample/Controller.java @@ -0,0 +1,4 @@ +package sample; + +public class Controller { +} diff --git a/src/sample/Main.java b/src/sample/Main.java new file mode 100644 index 0000000..205da5c --- /dev/null +++ b/src/sample/Main.java @@ -0,0 +1,24 @@ +package sample; + +import javafx.application.Application; +import javafx.fxml.FXMLLoader; +import javafx.scene.Parent; +import javafx.scene.Scene; +import javafx.stage.Stage; + +public class Main extends Application { + + @Override + public void start(Stage primaryStage) throws Exception{ + Parent root = FXMLLoader.load(getClass().getResource("sample.fxml")); + primaryStage.setTitle("Hello World"); + primaryStage.setScene(new Scene(root, 300, 275)); + primaryStage.show(); + + } + + + public static void main(String[] args) { + launch(args); + } +} diff --git a/src/sample/sample.fxml b/src/sample/sample.fxml new file mode 100644 index 0000000..a8517fa --- /dev/null +++ b/src/sample/sample.fxml @@ -0,0 +1,11 @@ + + + + + + + + + + +