Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.io.IOException;
- import javafx.application.Application;
- import javafx.fxml.FXMLLoader;
- import javafx.scene.Scene;
- import javafx.scene.layout.VBox;
- import javafx.stage.Stage;
- /**
- *
- * @author toffe boy Aamir
- *
- * dependency class UIController is here → http://pastebin.com/4bZtLj7W
- */
- public class AdvanceBinding extends Application {
- @Override
- public void start(Stage primaryStage) {
- VBox pane;
- FXMLLoader loader = new FXMLLoader();
- try {
- loader.setLocation(AdvanceBinding.class.getResource("UI.fxml"));//UI.fxml is here → http://pastebin.com/mS7AGi8a
- pane = (VBox)loader.load();
- Scene scene = new Scene(pane);
- primaryStage.setScene(scene);
- } catch (IOException e) {
- e.printStackTrace();
- }
- primaryStage.setTitle("Binding Demo");
- primaryStage.show();
- }
- /**
- * @param args the command line arguments
- */
- public static void main(String[] args) {
- launch(args);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement