Initial commit

This commit is contained in:
2017-12-03 13:41:45 +07:00
commit 5df9333f1f
7 changed files with 177 additions and 0 deletions

View File

@ -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();
}
}

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<AnchorPane xmlns="http://javafx.com/javafx"
xmlns:fx="http://javafx.com/fxml"
fx:controller="ru.cft.task.restClient.Main"
prefHeight="400.0" prefWidth="600.0"/>