Java Reference
In-Depth Information
Similarly in Eclipse, you can set up your project to assemble and build your applications
automatically to target the desired execution environment automatically. To accomplish
this in Eclipse, do the following:
1. Select Run-Configurations from the Run menu for your project.
2. Then specify how you want to build your application by selecting the desired profile,
as shown in the next screenshot.
How it works...
Both IDEs support functionalities that allow developers to build and package their applications
to target the different runtimes or profiles supported by JavaFX. As shown in the previous
figures, you have the ability to specify one of the following runtimes as a build setting:
NetBeans
Eclipse
Setting
Standard-Execution
Desktop-profile---Run-as-
Application
Select this to deploy your application
to run as a standalone raw jar with the
javafx launcher (see next Launch your
application with the javafx launcher
tool ).
Web-Start-Execution
Desktop-profile---Run-as-
Web-Start
This setting packages the project to run
within the Web Start runtime.
Run-in-Web-Browser
Desktop-profile---Run-as-
Applet-in-a-web-browser
Select this to deploy your application as
an applet.
Run-in-Mobile-Emulator Mobile-profile---Run-in-
Emulator
This setting is used to run an application
within the Mobile runtime.
Run-in-TV-Emulator
Not-supported-in-Eclipse-
yet
Use this setting to target the TV runtime.
Search WWH ::




Custom Search