Skip to content

Instantly share code, notes, and snippets.

@brunoborges
Created January 7, 2014 02:27
Show Gist options
  • Save brunoborges/8293775 to your computer and use it in GitHub Desktop.
Save brunoborges/8293775 to your computer and use it in GitHub Desktop.
package javafx.bug.rt35177;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
/**
* @author Bruno Borges <bruno.borges at oracle.com>
*/
public class Main extends Application {
@Override
public void start(Stage stage) throws Exception {
Parent root = FXMLLoader.load(getClass().getResource("interface.fxml"));
Scene scene = new Scene(root, 640, 640);
stage.setScene(scene);
stage.show();
}
public static void main(String[] args) {
launch(args);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment