O'Reilly logo

JavaFX 1.2 Application Development Cookbook by Vladimir Vivien

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Passing arguments to JavaFX applications

Often, it is desirable to pass in parameterized values as arguments to a running application. In regular Java applications, for instance, this is done by passing arguments through the command-line when an application is launched. This recipe shows you how to inject both application parameters and VM-level parameters into a desktop JavaFX application launched with the Web Start application.

Getting ready

This recipe shows how to pass in both applications and VM arguments to a JNLP-launched application via the Web Start or the new Java Plugin. If you are not familiar with JNLP, review the previous recipes Building and packaging your app with javafxpackager, Packaging your app to Be Web Start(ed), and Packaging ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required