Reloading stylesheets

Werner Lehmann lehmann at
Tue Dec 10 05:02:43 PST 2013

Thanks, Tom. Somehow it does not work for me. Any idea?

Basically this is what I am doing:

Parent root = ...
Scene scene = new Scene(root)

Then I show the scene in a JFXPanel, change and save the stylesheet in 
Eclipse, and reopen the window which repeats all of the above. But the 
css changes are not reflected until I restart the application.

On 10.12.2013 13:30, Tom Schindl wrote:
> com.sun.javafx.css.StyleManager.getInstance().reloadStylesheets(scene);

More information about the openjfx-dev mailing list