Copy constructors

Scott Palmer swpalmer at gmail.com
Mon Sep 10 13:30:28 PDT 2012


Oh, wow.. crap, sorry. Yes I missed it. Or wasn't paying enough attention…
It's only available as a non-static method, that explains it.  I was using the static methods, which still only accept a URL.  I just never considered making an instance of the loader… I had no need to, and I was letting the auto-complete in my IDE tell me what was available.

Shutting up now,

Scott


On 2012-09-10, at 3:58 PM, Greg Brown <greg.x.brown at oracle.com> wrote:

>> I'm referring to the way it accepts the FXML input only via a URL and not any other form.  
> 
> It doesn't. Maybe you missed my earlier reply:
> 
>>>> Why must FXML be loaded from only a URL?  Base on your response to #2, I see it is useful to use the URL as a key to looking up in the cache, but the more generic possibility of FXMLLoader.load(java.io.InputStream) would open a few doors for developers where now they must climb in through the window.
>>> 
>>> I'm not sure what you mean by this. FXMLLoader does define a load(InputStream) method. Either way, I don't see how that will help you load an SVG document more efficiently.
> 



More information about the openjfx-dev mailing list