Game Development Reference
In-Depth Information
As you can see in Figure 4-9 , you have now achieved your objective, and just the
Button object is visible on the desktop. I pulled the top of NetBeans IDE 8.0 down a bit
so that you can see how great this works and still see the three lines of Java code that
you added to achieve this end result. Using 2D, 3D, and alpha channels, some crazy-
cool applications can be created via this StageStyle.TRANSPARENT capability, so I
thought I would show it to you early on in the topic and get some JavaFX application
Java coding experience into this JavaFX overview chapter.
Figure 4-9 . Windowless JavaFX application seen at the top; completed Java and JavaFX code that achieves it seen
in the IDE
Now that you have explored the javafx.stage package, let's examine the
javafx.geometry package next!
JavaFX
Bounds
and
Dimensions:
Using
javafx.geometry Classes
 
 
Search WWH ::




Custom Search