Package javafx.stage

Examples of javafx.stage.WindowEvent


    public void close() {
        final Stage stage = undecorator.getStage();
        Platform.runLater(new Runnable() {
            @Override
            public void run() {
                stage.fireEvent(new WindowEvent(stage, WindowEvent.WINDOW_CLOSE_REQUEST));
            }
        });

    }
View Full Code Here

TOP

Related Classes of javafx.stage.WindowEvent

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.