Search in sources :

Example 1 with Application

use of javafx.application.Application in project azure-tools-for-java by Microsoft.

the class JobUtilsForEclipse method openBrowser.

private static void openBrowser(String url) throws Exception {
    Application application = new Application() {

        @Override
        public void start(Stage primaryStage) throws Exception {
            getHostServices().showDocument(url);
        }
    };
    application.start(null);
}
Also used : Stage(javafx.stage.Stage) Application(javafx.application.Application)

Aggregations

Application (javafx.application.Application)1 Stage (javafx.stage.Stage)1