Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8102062

Add conveniece method FXMLLoader.load(String localFile)

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P5 P5
    • None
    • 7u6
    • javafx

      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")

            mkubec Milan Kubec
            athiemejfx Andre Thieme (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: