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-15 displays the Calibration Information dialog, which suggests that only NetBeans run on your<br />

workstation during the calibration process and tells you how to calibrate again in the future (if you change the<br />

system hardware configuration), using the Profile ➤ Advanced Commands ➤ Manage Calibration Data menu<br />

sequence.<br />

Figure 2-15. The first time you profile, a calibration is performed<br />

There is also a warning, saying that you should disable dynamic CPU frequency switching (this is typically<br />

referred to as overclocking), which is a common feature these days.<br />

Because I want to test for slower CPU speeds, I did not bother to do this, as it involves going into the system<br />

BIOS (Basic Input/Output System) on the workstation motherboard and is not something for beginners to be playing<br />

around with.<br />

Ultimately, the most thorough way to test a game application is across a wide range of different OSs and hardware<br />

configurations, but I wanted to show you this profiling feature, as it is a great way to get a good baseline on your<br />

application performance, which you can then improve on as you refine your code (and then run the profiler again and<br />

again, comparing the results with the original baseline measurements).<br />

Once you click the OK button, NetBeans IDE 8.0 will calibrate its profiling tool relative to your system hardware<br />

characteristics, which should not take long at all on a fast, modern-day, multicore workstation.<br />

If you are running the Windows OS (as seen here, in the 64-bit Windows 7 version), you will probably get a<br />

Windows Firewall has blocked some features of this program Windows Security Alert dialog. You want to have<br />

all the features of NetBeans 8.0 at your disposal, so let’s look at how to allow access to the <strong>Java</strong> SE 8 platform in<br />

Windows next.<br />

34<br />

www.it-ebooks.info

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

Saved successfully!

Ooh no, something went wrong!