Game Development Reference
In-Depth Information
Figure 2-8 . Click the Run menu, at the top of the IDE, and then select Compile File, or press the F9 function key
Figure 2-9 illustrates the Compile progress bar, which will appear at the bottom of
the IDE during compilation.
Figure 2-9 . The Compile progress bar is shown at the bottom of the screen, along with expand and collapse icon
functionality
It is also important to note here that NetBeans will compile the project code when
you use the File Save menu sequence (or the CTRL-S keyboard shortcut), so if
you were to use the Save feature of the NetBeans IDE right after the bootstrap code is
created, you would not have to undertake the compilation process that I just showed
you, as this process is done “automagically,” (not manually) every time you save a
game project.
Also shown in the figure, right above the Compile progress bar, is a highlighted a
block of code that was visible in Figure 2-7 but that I have collapsed , using the minus
icon at the left of the code editor pane. You can see three uncollapsed minus icons in
the middle of the code editor pane (under the InvinciBagel class) as well as three col-
lapsed icons at the top of the code editor pane for the two comments and the import
statement code block. A minus icon turns into a plus icon so that a collapsed code view
can be expanded . Now that you have looked at how to compile your project in
 
 
Search WWH ::




Custom Search