This discussion is archived
0 Replies Latest reply: Jan 24, 2013 12:41 AM by YacineBelkessam RSS

JavaFX Web Start (jnlp) Stylesheet reloading

YacineBelkessam Newbie
Currently Being Moderated
Hi,

I have a problem refreshing stylesheets in my JavaFX Application.

I want to be able to refresh stylesheets at any time (Action Listener on menu item...). So I :
scene.getStylesheets().clear();
scene.getStylesheets().add(stylePath);
It works on my dev environment. It works when executing the built Jar file. but IT DOESN'T WORK when the application is launched via Java Web Start (jnlp).

Any idea?

Thanks.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points