title: Javafx Updating UI from a Thread without direct calling Platform.runLater
body: <p>Nowadays some says it is not suitable to use <code>Platform.runLater()</code> for updating the UI from a non-JavaFX Thread and Oracle site introduce a way with bindings for progress bar updating. Here I want to update a Label, so coded it like this:</p>
  
  <pre><code>Task task = new Task() {
      @Override
      protected Object call() throws Exception {
          int i = 0;
          while (true) {
              this.updateMessage("Count " + i);
              System.out.println(i);
              // Thread.sleep(10);
              i++;
          }
      }
  };
  
  Thread t = new Thread(task);
  lbStatus.textProperty().bind(task.messageProperty());
  t.start();
  </code></pre>
  
  <p>It works.</p>
  
  <p>I want to know is it good enough or is there any other ways to consider?
  Thank you.</p>