How to style FXML-defined popups?
greg.x.brown at oracle.com
Thu May 31 05:10:24 PDT 2012
> the following works as an FXML alternative to adding the stylesheet in Java code:
>> <String fx:value="/the/fully/qualified/path/to/the/desired.css"/>
> It also requires this
>> <?import java.lang.String?>
> which was a bit unexpected. URL did not work here because it was not coerced to a string.
FYI, this was fixed in either 2.1 or 2.2, so the following should also work:
More information about the openjfx-dev