Example usage for javafx.application Application launch

List of usage examples for javafx.application Application launch

Introduction

In this page you can find the example usage for javafx.application Application launch.

Prototype

public static void launch(String... args) 

Source Link

Document

Launch a standalone application.

Usage

From source file:Main.java

public static void main(String[] args) {
    Application.launch(args);

}

From source file:Main.java

public static void main(String[] args) {
    Application.launch(args);
}

From source file:Main.java

public static void main(String[] args) {
     Application.launch(args);
 }

From source file:Main.java

public static void main(final String[] arguments) {
    Application.launch(arguments);
}

From source file:com.canoo.dolphin.todo.client.ToDoClient.java

public static void main(String[] args) {
    Logger OD_LOGGER = Logger.getLogger("org.opendolphin");
    OD_LOGGER.setLevel(Level.SEVERE);

    Application.launch(args);
}

From source file:Main.java

/**
 * @param args the command line arguments
 */
public static void main(String[] args) {
    Application.launch(args);
}

From source file:org.dataconservancy.packaging.gui.BaseGuiTest.java

/**
 * Wait until a JavaFX application is launched.
 * /* w  w w.java2 s .  co  m*/
 * TODO: Use the regular app class and modify it to expose various properties to tests?
 * @throws InterruptedException
 */

@BeforeClass
public static void setupJavaFX() throws InterruptedException {
    if (javafx_setup_latch != null) {
        return;
    }

    javafx_setup_latch = new CountDownLatch(1);

    Runnable init = () -> Application.launch(SkeletonApp.class);

    System.out.println("JavaFx initialising...");
    long timeMillis = System.currentTimeMillis();

    new Thread(init).start();

    javafx_setup_latch.await();

    System.out.println("JavaFx is initialised in " + (System.currentTimeMillis() - timeMillis) + "ms");
}

From source file:ubicrypt.UbiCrypt.java

public static void main(final String[] args) throws IOException, InterruptedException {
    Utils.setProperties(args);/*w w w  . java 2s .  co  m*/
    ubiqFolder().toFile().mkdirs();
    if (Utils.isAppInUse(ubiqFolder())) {
        log.error("UbiCrypt already running. Quit");
        return;
    }
    Application.launch(args);
}