Java Reference
In-Depth Information
The Scene.stylesheets property is bound to variable cssFile using the expression
Scene{stylesheets: bind ["{__DIR__}{cssFile}"]} . When the value of the
variable cssFile is updated (by pressing one of the buttons), it automatically updates
the stylesheet for the scene. That's it!
See also
F Introduction
F Creating a form with JavaFX controls
F Styling your applications with CSS
F Using CSS files to apply styles
 
Search WWH ::




Custom Search