0 Replies Latest reply: Jan 24, 2013 2:41 AM by YacineBelkessam RSS

    JavaFX Web Start (jnlp) Stylesheet reloading

    YacineBelkessam
      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.