4 Replies Latest reply: Jan 22, 2013 9:04 AM by David Grieve RSS

    Reloading Stylesheets from URL

    YacineBelkessam
      Hi,

      I am trying to reload stylesheets from url as follows:
      myGridPane.getStylesheets().add("http://server:port/GridPaneStyle.css");
      ...
      ...
      com.sun.javafx.css.StyleManager.getInstance().reloadStylesheets(scene);
      com.sun.javafx.css.StyleManager.getInstance().updateStylesheets(scene);
      But even if I update and save my CSS files, reloadStylesheets and updateStylesheets do not change anything...

      Any bug known for those methods?

      Thanks.