New JavaFX Application

Use to create a new JavaFX application either with or without FXML.

In the Name and Location page, you must set the following properties:

Element Description

Project Name

Specifies the display name of the project. This name is also used to create the project folder.

Project Location

Specifies the folder where you want to store the project metadata and source code. When you create an empty Java project, you cannot store the project folder and the project source code in separate locations like you can with projects from existing source code.

Project Folder

Specifies the folder where you want to store the project metadata and source code. The folder is a concatenation of the project location and the project name.

JavaFX Platform

Selects the JavaFX-enabled Java platform from the drop-down list. If the Java platform you select is not JavaFX-enabled, a warning appears at the bottom of the panel. If you have no JavaFX-enabled platforms, you must register a new Java platform.

Click Manage Platforms.

Manage Platforms

Opens the Java Platform Manager. You can enable JavaFX for a Java platform in the Platform Manager.

Create Custom Preloader

Creates a custom preloader for this application when selected. The IDE creates the preloader in a separate project.

Use Dedicated Folder for Storing Libraries

Specifies a Libraries Folder (when selected) where required compilation libraries are stored.

Create Application Class

Specifies the package and name of the application class. You should enter the fully qualified name of the class without the .java extension (for example, com.me.MyClass).

When you click Finish, the project is created on your computer and opened in the Projects window. If you created an application class, this class opens in the editor. If you created an FXML application, the application's FXML file and controller class also open in the editor.


Related Topics

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.