Use to create a new JavaFX application either with or without FXML.
In the Name and Location page, you have to 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. |
FXML name |
Specifies the name of the primary FXML file. Note you can add more FXML files later. |
Use Dedicated Folder for Storing Libraries |
Specifies a Libraries Folder 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,
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |