JavaFX Logo
2 Documentation

Horizontal Rule
1Set up the SDK
2Create the framework
3Define the UI
4Lay out the UI controls
5Deploy
Install SDK image

Set up the SDK

The first step in getting started with JavaFX is to download and install the JavaFX SDK on your system. You can install the complete SDK, or just the JavaFX Runtime. See Installing JavaFX for instructions.

Create the application framework

Create application framework image

Each JavaFX application has a similar framework. The main class for the application extends the Application class, the main() method calls the launch() method, and the start() method sets up and shows the stage, which contains the UI for the application. See Getting Started with JavaFX for information on setting up a NetBeans project and creating the framework for your application.

Define the UI

Define the UI image

The stage for the application interface contains one or more scenes, which in turn contain the controls, shapes, and images that make up your user interface. See Using JavaFX UI Controls for information on defining controls such as buttons, labels, and text fields for your UI.

Lay out the UI controls

Lay out UI controls image

After you decide what controls you want in your UI, use one of the built-in layout panes to manage the size and position of the controls. See Working with Layouts in JavaFX for information on setting up your UI controls to create the screens for your UI.

Deploy

Deploy image

JavaFX applications run on a desktop, in a browser, and over the web. When your application is ready, create the .jar, .html, and .jnlp files that your users will run. See Deployment for information on packaging and deploying your application.


Horizontal Rule




Horizontal Rule
2.0.3 Release Documents


Other Releases>


Copyright © 2011, 2012 Oracle and/or its affiliates. All rights reserved.
Legal Notices    Accessibility Statement