/* * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. */ import java.io.IOException; import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Scene; import javafx.scene.layout.AnchorPane; import javafx.stage.Stage; /** * * @author akouznet */ public class Bug extends Application { /** * @param args the command line arguments */ public static void main(String[] args) { launch(args); } @Override public void start(Stage primaryStage) throws IOException { AnchorPane root = FXMLLoader.load(Bug.class.getResource("Bug.fxml")); // // StackPane root = new StackPane(); // root.getChildren().add(hBox); // Scene scene = new Scene(root); primaryStage.setScene(scene); primaryStage.show(); // ScenicView.show(root); } }