Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Reloading Stylesheets from URL

YacineBelkessamJan 21 2013 — edited Jan 22 2013
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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 19 2013
Added on Jan 21 2013
4 comments
305 views