commit 5df9333f1f018245accab231d9c325fbc0491bbb Author: WarL0ck Date: Sun Dec 3 13:41:45 2017 +0700 Initial commit diff --git a/.idea/compiler.xml b/.idea/compiler.xml new file mode 100644 index 0000000..42b05cf --- /dev/null +++ b/.idea/compiler.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..e8942bd --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,13 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..4f203cf --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..4545c7a --- /dev/null +++ b/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + ru.cft.task + restClient + 0.1.0 + + jar + + + + + src/main/resources + true + + + + + com.zenjava + javafx-maven-plugin + 8.8.3 + + CFT + ru.cft.task.restClient.Main + + + + + create-jfxjar + package + + build-jar + + + + create-native + package + + build-native + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.7.0 + + 1.8 + 1.8 + + + + org.apache.maven.plugins + maven-jar-plugin + 3.0.2 + + + + true + libs/ + ru.cft.task.restServer.Main + + + + + + org.apache.maven.plugins + maven-dependency-plugin + 2.10 + + + copy-dependencies + package + + copy-dependencies + + + + runtime + ${project.build.directory}/libs/ + + + + + + + + \ No newline at end of file diff --git a/restClient.iml b/restClient.iml new file mode 100644 index 0000000..c035f0b --- /dev/null +++ b/restClient.iml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/java/ru/cft/task/restClient/Main.java b/src/main/java/ru/cft/task/restClient/Main.java new file mode 100644 index 0000000..6da35c0 --- /dev/null +++ b/src/main/java/ru/cft/task/restClient/Main.java @@ -0,0 +1,21 @@ +package ru.cft.task.restClient; + +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 { + public static void main(String[] args) { + launch(args); + } + + public void start(Stage stage) throws Exception { + Parent root = FXMLLoader.load(getClass().getResource("/main_app.fxml")); + Scene scene = new Scene(root); + stage.setTitle("Rest Client"); + stage.setScene(scene); + stage.show(); + } +} diff --git a/src/main/resources/main_app.fxml b/src/main/resources/main_app.fxml new file mode 100644 index 0000000..1abe341 --- /dev/null +++ b/src/main/resources/main_app.fxml @@ -0,0 +1,12 @@ + + + + + + + + +