Pro Java 9 Games Development Leveraging the JavaFX APIs

(Michael S) #1
Chapter 6 ■ Setting Up YoUr Java 9 iDe: an introDUCtion to netBeanS 9

This will display what I term a “virgin” IDE, with no projects active in the IDE. Enjoy this now, as soon
we will be filling this IDE with windows (I call these floating palettes panes, as the entire IDE is in what I call
a window) for your project components. You can see part of this empty IDE in Figure 6-4, and there is not
much to see, as currently there are only top menus and shortcut icons, also at the top of the IDE, and not
much else is currently visible.
In case you are wondering, the Start Page that you exited displays only the first time you start the
NetBeans IDE, although if you wanted to open this Start Page tab up later, perhaps so that you could explore
the Demos and Tutorials sections, you can! To open this Start Page at any time, you would use the NetBeans
9.x Help menu and then select the Start Page submenu. I will usually denote a menu sequence like Help ➤
Start Menu just for your future reference. If you see a structure like this later in the book, it is a cascading
menu sequence of nested submenus.
The first thing that you will want to do in the NetBeans 9.0 IDE is to create a new JavaFXGame Java
Project. To do this, we will use the NetBeans 9.0 New Project series of dialogs. This is one of those helpful
Java programming features that I was talking about in the previous section, which creates your bootstrap
project with the correct JavaFX libraries, .main() and .start() methods, java statements, and import
statements, all of which you’ll be learning about in the next chapter. Click the File menu in the upper-left
corner of your NetBeans 9 IDE, as shown in Figure 6-4, and then select the New Project menu item, which
happens to be the first menu item.


Figure 6-3. Close the Start Page tab (upper left) by clicking the x on the right side of the tab to reveal NetBeans
9 IDE

Free download pdf