28.04.2019 Views

[JAVA][Beginning Java 8 Games Development]

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 2 ■ Setting Up Your <strong>Java</strong> 8 IDE: An Introduction to NetBeans 8.0<br />

Figure 2-7. Examine the bootstrap <strong>Java</strong>FX code that NetBeans created for you, based on the New <strong>Java</strong>FX Application dialog<br />

As you can see in the figure, NetBeans has written the package statement, seven <strong>Java</strong>FX import statements, the<br />

class declaration, and the .start() and .main() methods. NetBeans 8.0 colors <strong>Java</strong> key programming statement<br />

words blue and comments gray. Data values are orange and input/output is green.<br />

Before you can run this bootstrap code, to make sure that NetBeans 8.0 wrote code for you that actually works,<br />

you will need to compile it into an executable format, which is run in your system memory.<br />

www.it-ebooks.info<br />

27

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!