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

org.datafx.samples.validation.property.PropertyValidationDemo Maven / Gradle / Ivy

There is a newer version: 8.0b5
Show newest version
package org.datafx.samples.validation.property;

import javafx.application.Application;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
import org.datafx.controller.ViewFactory;
import org.datafx.samples.validation.context.ValidationController;

public class PropertyValidationDemo extends Application {

    @Override
    public void start(Stage stage) throws Exception {
        Scene myScene = new Scene((Parent) ViewFactory.getInstance().createByController(PropertyValidationController.class).getRootNode());
        stage.setScene(myScene);
        stage.show();
    }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy