Re: JI-9056801 : Scene: Allow to add a stylesheet using a typed URL, not a stringified URL

2018-09-16 Thread Tom Schindl
[you replied offlist but I guess that was an oversight so I bring it back] Reading through the document I don't see what concept is not working, but indeed the URL-constructor says that the protocol handler is resolved when constructing the URL. Does OneJar rely on that fact? The Stackoverflow

Re: JI-9056801 : Scene: Allow to add a stylesheet using a typed URL, not a stringified URL

2018-09-16 Thread Nir Lisker
I think this needs to be discussed with a project lead - Kevin or Johan. On Sun, Sep 16, 2018 at 6:07 AM Michael Binz wrote: > Hi Nir, > > I understand that switching the API to use net.URL is not trivial. > > The only idea that comes to mind is to offer two list properties, the one > existing

Re: JI-9056801 : Scene: Allow to add a stylesheet using a typed URL, not a stringified URL

2018-09-15 Thread Tom Schindl
Hi, I don't understand why something should be lost but anyways I don't think JavaFX API is not the right place to fix a short coming of OneJar. As Nir pointed out it is next to impossible to retrofit the JavaFX API to URL with breaking it. Tom On 22.08.18 20:47, Michael Binz wrote: > Hi all, >

Re: JI-9056801 : Scene: Allow to add a stylesheet using a typed URL, not a stringified URL

2018-09-14 Thread Nir Lisker
Hi Michael, The issue in the JBS is JDK-8209921 [1]. getStylesheets() returns an ObservableList, it cannot be changed to ObservableList. What solution do you propose? [1] https://bugs.openjdk.java.net/browse/JDK-8209921 - Nir On Wed, Aug 22, 2018 at 9:47 PM Michael Binz wrote: > Hi all, > >