title: call non static method from other class - JavaFX
body: <p>I have two forms, two separate stages.
  The first one contains a method to refresh tableview, it can´t be static.
  The second form contains a button which should call a method to refresh the  tableview of the first stage.</p>
  
  <p>How can I do without static function? In java 1.8 We can´t use static for FXML objects. :-/</p>
  
  <p>This is in first class which represent first root form:</p>
  
  <pre><code>  public  void seznamDokumentu() throws ClassNotFoundException, SQLException, IOException {
          int pocetPriloh = 0;
          System.out.println("start seznam dokumentu!");
  
          idSoucinnosti.setVisible(nastaveniZobrazTlacitkoSoucinnosti);
          idTable.setEditable(true);
          idTable.setStyle("-fx-control-inner-background: #" + nastaveniBarvaVybrany
                  + "; -fx-accent: derive(-fx-control-inner-background, -40%)"
                  + "; -fx-cell-hover-color: derive(-fx-control-inner-background, -20%)"
  //and other actions for refreshing
          );}
  </code></pre>
  
  <p>This is in second class</p>
  
  <pre><code>    private static void aktualizuj() throws ClassNotFoundException, SQLException, IOException {
  //something for call seznamDokumentu()
      }
  </code></pre>
  
  <p>Any idea?
  Thank you</p>