All Downloads are FREE. Search and download functionalities are using the official Maven repository.

eu.mihosoft.vmf.vmfedit.JsonEditorApplication Maven / Gradle / Ivy

Go to download

VMF JSon Schema Editor Support (VRL Modeling Framework) adds editor support via json schema.

The newest version!
package eu.mihosoft.vmf.vmfedit;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Node;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

import java.io.IOException;

public class JsonEditorApplication extends Application {
    @Override
    public void start(Stage stage) throws IOException {
        FXMLLoader fxmlLoader = new FXMLLoader(JsonEditorApplication.class.getResource("json-editor-view.fxml"));
        Parent n = fxmlLoader.load();

        JsonEditorAppController controller = fxmlLoader.getController();

        Scene scene = new Scene(n, 800, 600);

        stage.setTitle("VMF JSON Editor");
        stage.setScene(scene);
        stage.show();

    }

    public static void main(String[] args) {
        launch();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy