Java Code Examples for javafx.application.Application#launch()

The following examples show how to use javafx.application.Application#launch() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: BisqAppMain.java    From bisq with GNU Affero General Public License v3.0 5 votes vote down vote up
@Override
protected void launchApplication() {
    BisqApp.setAppLaunchedHandler(application -> {
        BisqAppMain.this.application = (BisqApp) application;

        // Necessary to do the setup at this point to prevent Bouncy Castle errors
        CommonSetup.setup(BisqAppMain.this.application);
        // Map to user thread!
        UserThread.execute(this::onApplicationLaunched);
    });

    Application.launch(BisqApp.class);
}
 
Example 2
Source File: MqttListener.java    From diozero with MIT License 5 votes vote down vote up
public static void main(String[] args) {
	if (args.length > 0) {
		if (args[0].startsWith("--" + MQTT_SERVER_OPTION + "=")) {
			mqttServer = args[0].substring(MQTT_SERVER_OPTION.length() + 3);
		}
	}
	
	if (mqttServer == null) {
		System.out.println("Error: Usage MqttListener --" + MQTT_SERVER_OPTION + "=<MQTT Server URL>");
		System.exit(2);
	}
	
	Application.launch(args);
}
 
Example 3
Source File: RunDataSetSamples.java    From chart-fx with Apache License 2.0 4 votes vote down vote up
/**
 * @param args the command line arguments
 */
public static void main(final String[] args) {
    Application.launch(args);

}
 
Example 4
Source File: Demo.java    From Enzo with Apache License 2.0 4 votes vote down vote up
public static void main(final String[] args) {
    Application.launch(args);
}
 
Example 5
Source File: AcqButtonTests.java    From chart-fx with Apache License 2.0 4 votes vote down vote up
public static void main(String[] args) {
    Application.launch(args);
}
 
Example 6
Source File: AreaChartDemo.java    From Java-11-Cookbook-Second-Edition with MIT License 4 votes vote down vote up
public static void main(String[] args) {
	Application.launch(args);
}
 
Example 7
Source File: TimeAxisSample.java    From chart-fx with Apache License 2.0 4 votes vote down vote up
/**
 * @param args the command line arguments
 */
public static void main(final String[] args) {
    Application.launch(args);
}
 
Example 8
Source File: CameraStream.java    From tutorials with MIT License 4 votes vote down vote up
public static void main(String[] args) {
    Application.launch(args);
}
 
Example 9
Source File: ChartHighUpdateRateSample.java    From chart-fx with Apache License 2.0 2 votes vote down vote up
public static void main(final String[] args) {
    Application.launch(args);

}
 
Example 10
Source File: MapImageLayerSublayerVisibilitySample.java    From arcgis-runtime-samples-java with Apache License 2.0 2 votes vote down vote up
/**
 * Starting point of this application.
 *
 * @param args arguments to this application.
 */
public static void main(String[] args) {

  Application.launch(args);
}
 
Example 11
Source File: AddGraphicsWithRendererSample.java    From arcgis-runtime-samples-java with Apache License 2.0 2 votes vote down vote up
/**
 * Opens and runs application.
 *
 * @param args arguments passed to this application
 */
public static void main(String[] args) {

  Application.launch(args);
}
 
Example 12
Source File: RasterFunctionSample.java    From arcgis-runtime-samples-java with Apache License 2.0 2 votes vote down vote up
/**
 * Opens and runs application.
 *
 * @param args arguments passed to this application
 */
public static void main(String[] args) {

  Application.launch(args);
}
 
Example 13
Source File: IdentifyLayersSample.java    From arcgis-runtime-samples-java with Apache License 2.0 2 votes vote down vote up
/**
 * Opens and runs application.
 *
 * @param args arguments passed to this application
 */
public static void main(String[] args) {

  Application.launch(args);
}
 
Example 14
Source File: MapRotationSample.java    From arcgis-runtime-samples-java with Apache License 2.0 2 votes vote down vote up
/**
 * Opens and runs application.
 * 
 * @param args arguments passed to this application
 */
public static void main(String[] args) {

  Application.launch(args);
}
 
Example 15
Source File: OpenMobileScenePackageSample.java    From arcgis-runtime-samples-java with Apache License 2.0 2 votes vote down vote up
/**
 * Opens and runs application.
 *
 * @param args arguments passed to this application
 */
public static void main(String[] args) {

  Application.launch(args);
}
 
Example 16
Source File: OpenScenePortalItemSample.java    From arcgis-runtime-samples-java with Apache License 2.0 2 votes vote down vote up
/**
 * Opens and runs application.
 *
 * @param args arguments passed to this application
 */
public static void main(String[] args) {

  Application.launch(args);
}
 
Example 17
Source File: DisplayDrawingStatusSample.java    From arcgis-runtime-samples-java with Apache License 2.0 2 votes vote down vote up
/**
 * Opens and runs application.
 * 
 * @param args arguments passed to this application
 */
public static void main(String[] args) {

  Application.launch(args);
}
 
Example 18
Source File: SymbolsSample.java    From arcgis-runtime-samples-java with Apache License 2.0 2 votes vote down vote up
/**
 * Opens and runs application.
 *
 * @param args arguments passed to this application
 */
public static void main(String[] args) {

  Application.launch(args);
}
 
Example 19
Source File: ListKMLContentsSample.java    From arcgis-runtime-samples-java with Apache License 2.0 2 votes vote down vote up
/**
 * Opens and runs application.
 *
 * @param args arguments passed to this application
 */
public static void main(String[] args) {

  Application.launch(args);
}
 
Example 20
Source File: MapInitialExtentSample.java    From arcgis-runtime-samples-java with Apache License 2.0 2 votes vote down vote up
/**
 * Opens and runs application.
 *
 * @param args arguments passed to this application
 */
public static void main(String[] args) {

  Application.launch(args);
}