11 Css PDF
11 Css PDF
9-18-2013
JavaFX
Cascading Style Sheets (CSS)
Scene Graphs & Nodes
Convenience Methods for Event Handling
UI Controls
primaryStage.show();
JavaFX will look in the src/login directory for the style
sheet (note that the class name in this example is
Login)
Add the following to the .css file:
javaFX.scene.control package
Design a GUI that displays the following:
top face of a six-sided Die
Button that, when clicked, rolls the Die