February 2014
Beginner
1248 pages
62h 25m
English
• To display a GUI, you must attach it to a Scene, then attach the Scene to the Stage that’s passed into Application method start.
• By default, the Scene’s size is determined by the size of the scene graph’s root node. Overloaded versions of the Scene constructor allow you to specify the Scene’s size and fill (a color, gradient or image), which appears in the c’s background.
• Scene method setTitle specifies the text that appears in the Stage window’s title bar.
• Stage method setScene places a Scene onto a Stage.
• Stage method show displays the Stage window.
Read now
Unlock full access