Reloading stylesheets

Scott Palmer swpalmer at
Tue Dec 10 04:41:36 PST 2013

Have you tried simply removing and re-adding the stylesheet to the scene?


On Tue, Dec 10, 2013 at 7:21 AM, Werner Lehmann <
lehmann at> wrote:

> Hi,
> is there a way to reload previously loaded stylesheets (in FX2)?
> Currently I have to restart the application each time I am changing the
> css. It would be nice to just close and reopen that window instead to see
> the new styles. I'd like to unload css automatically when closing a window
> - in debug mode - in order to avoid the application restart.
> Or, even better, define a hotkey to update css immediately. Much like
> shift+ctrl+8 for ScenicView (only works in FX2 as far as I know).
> Rgds
> Werner

More information about the openjfx-dev mailing list