title: JavaFX ImageView (FXML) dosen't show/change the pictures
body: <p>I'm using the SceneBuilder to design an interface and used the code <a href="https://java-buddy.blogspot.de/2015/12/javafx-filechooser-to-open-image-file.html" rel="nofollow noreferrer">here</a> to set up a simple FileChooser to open and view picture files.</p>
  
  <p>The code isolated was tested and works fine, I tried to integrate it into my existing interface and it just keeps failing. No error message, nothing.
  I have started putting <code>println</code>around the commands and everything "works".</p>
  
  <p>Here's my GUI, the design works so far (I just started using a <code>VBox</code> instead of a regular <code>Panel</code> as all my attempts had failed)</p>
  
  <pre><code>&lt;HBox prefHeight="790.0" prefWidth="927.0" style="-fx-background-color: green;"&gt;
           &lt;children&gt;
              &lt;VBox prefHeight="200.0" prefWidth="100.0"&gt;
                 &lt;children&gt;
                    &lt;ImageView fx:id="iv_main" fitHeight="473.0" fitWidth="462.0" pickOnBounds="true" preserveRatio="true" /&gt;
                 &lt;/children&gt;
              &lt;/VBox&gt;
              &lt;VBox prefHeight="790.0" prefWidth="236.0"&gt;
                  &lt;!-- And things inside --&gt;
              &lt;/VBox&gt;
           &lt;/children&gt;
        &lt;/HBox&gt;
  </code></pre>
  
  <p>And the code in the controller - the initializer doesn't display any picture in that version here. Yet if I do the same in the original file it works:</p>
  
  <pre><code>@FXML
      private ImageView iv_main;
  
      //I know this here looks nasty but I tried the path 1:1 in the
      //isolated version (even a different project) - but works 100%
      private String RESJPG = "/home/qohelet/NetBeansProjects/KV/src/main/resources/fxml/ahok.jpg";
  
      @Override
      public void initialize(URL url, ResourceBundle rb) {
          /*
          * In the original file here are two ObservableLists 
          * filled successfully. So I can assume the initialize-method works
          */
  
          btn_openFolder.setOnAction(btnLoadEventListener);            
          try {
  
          FileInputStream input = new FileInputStream(RESJPG);
          Image image = new Image(input);
              iv_main = new ImageView(image);
          } catch (FileNotFoundException|NullPointerException | java.lang.IllegalArgumentException nupo) {
              System.err.println(RESJPG + " not found");
          } 
      }
  </code></pre>
  
  <p>The event-handler works perfectly fine on that action event - yet it does nothing to the ImageView:</p>
  
  <pre><code>EventHandler&lt;ActionEvent&gt; btnLoadEventListener
              = new EventHandler&lt;ActionEvent&gt;() {
          @Override
          public void handle(ActionEvent t) {
              System.out.println("Click");
              FileChooser fileChooser = new FileChooser();
  
              //Set extension filter
              FileChooser.ExtensionFilter extFilterJPG = new FileChooser.ExtensionFilter("Bilddateien", "*.JPG", "*.jpg", "*.jpeg", "*.JPEG", "*.PNG", "*.png");
              fileChooser.getExtensionFilters().addAll(extFilterJPG);
  
              //Show open file dialog
              File file = fileChooser.showOpenDialog(null);
              System.out.println("File: " + file.getAbsolutePath());
              try {
                  BufferedImage bufferedImage = ImageIO.read(file);
                  Image image = SwingFXUtils.toFXImage(bufferedImage, null);
                  iv_main.setImage(image);
                  iv_main.setVisible(true); //In Swing you sometimes had to do that command - but here regardless if inserted or not, no changes
              } catch (IOException ex) {
                  Logger.getLogger(FXMLController.class.getName()).log(Level.SEVERE, null, ex);
              }
  
          }
      };
  </code></pre>
  
  <p>I'm running out of ideas now... The file is correctly displayed in the console, I keep clean and building the project, moved the ImageView around so there's no chance it's just covered with another object, but there's no changes in the result...</p>
  
  <p>I'm even trying those two ways to change the image (once on start, then with the <code>FileChooser</code>) - yet nothing.</p>
  
  <p>What am I doing wrong?</p>
  
  <p>(Related to the version (<code>com.sun.javafx.runtime.VersionInfo.getRuntimeVersion()</code>), I'm using: 8.0.131-b11 )</p>