During development time in a dynamic language one would often like to load a .fxml file in the REPL. Currently this is a bit ugly (example in Clojure):
(FXMLLoader/load (java.net.URL. "file:////c:/Users/jfxuser/projects/jfx/example.fxml"))
Nice would be:
(FXMLLoader/load "c:/Users/jfxuser/projects/jfx/example.fxml")
(FXMLLoader/load (java.net.URL. "file:////c:/Users/jfxuser/projects/jfx/example.fxml"))
Nice would be:
(FXMLLoader/load "c:/Users/jfxuser/projects/jfx/example.fxml")
- relates to
-
JDK-8090344 Need a load method on FXMLLoader which takes a String url
-
- Open
-
-
JDK-8090344 Need a load method on FXMLLoader which takes a String url
-
- Open
-