Package scripting.groovy

Source Code of scripting.groovy.TestGroovyScript

package scripting.groovy;

import java.io.IOException;

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

public class TestGroovyScript extends Application {

  @Override
  public void start(Stage primaryStage) {
    try {
      Parent p = FXMLLoader.load(getClass().getResource("TestGroovyScript.fxml"));
      primaryStage.setScene(new Scene(p));
      primaryStage.show();
    } catch (IOException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }
  }

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

Related Classes of scripting.groovy.TestGroovyScript

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.