Package jfxtras.scene.control.window

Examples of jfxtras.scene.control.window.Window


        // creates a pane that contains one window
        pane = new Pane();
        pane.setPrefSize(1024, 768);

        windowOne = new Window("Window Title 1");
        windowOne.setId("window-control-1");

        windowOne.setPrefSize(600, 400);
        windowOne.setLayoutX(100);
        windowOne.setLayoutY(100);

        windowTwo = new Window("Window Title 2");
        windowTwo.setId("window-control-2");

        windowTwo.setPrefSize(600, 400);
        windowTwo.setLayoutX(500);
        windowTwo.setLayoutY(280);
View Full Code Here


    public Parent getRootNode() {
       
        // creates a pane that contains one window
        pane = new Pane();
        pane.setPrefSize(1024, 768);
        window = new Window("Window Title");
        window.setId("window-control-1");
        minimizeIcon = new MinimizeIcon(window);
        closeIcon = new CloseIcon(window);
        window.getLeftIcons().addAll(closeIcon, minimizeIcon);
        window.setPrefSize(600, 400);
View Full Code Here

TOP

Related Classes of jfxtras.scene.control.window.Window

Copyright © 2018 www.massapicom. 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.