### Apply JavaFX Oracle CSS Style Reference

JavaFX Oracle CSS Style Reference
http://docs.oracle.com/javafx/2/api/javafx/scene/doc-files/cssref.html
http://docs.oracle.com/javafx/2/css_tutorial/jfxpub-css_tutorial.htm
Note
The JavaFX Scene Builder is not recommended anymore. Use the B4J Visual Designer instead.
How to get caspian.css
The default style sheet for JavaFX is caspian.css, which is embedded in a file called jfxrt.jar.
This file can be found in the jdk folder, subfolder jre\lib\ext\.
To extract caspian.css use:
jar -xf jfxrt.jar com/sun/javafx/scene/control/skin/caspian/caspian.css
Notes
This might require admin rights depending on where the jdk is installed, else
copy the file jfxrt.jar to a temporary folder and extract.
If jar can not be found, add the path, like
"c:\Program Files (x86)\Java\jdk8\bin\jar" -xf jfxrt.jar com/sun/javafx/scene/control/skin/caspian/caspian.css
The output file caspian.css is stored in:
\com\sun\javafx\scene\control\skin\caspian\caspian.css

Changed: , Category: CSS, File: T6C177M1282.htm, ID: 1282