title: How to add listeners to javafx UI component with scala
body: <p>I'm using Scala and <code>Publisher</code> trait to listen the change on my data component and publish/update display to swing UI component (like <a href="https://stackoverflow.com/questions/6260387/how-to-add-listeners-to-swing-components-in-scala">this</a>)</p>
  
  <p>I recently rewrite my program to use <code>Javafx2</code> and <code>Scala</code>, and i cannot use the recent binding project <code>Scalafx</code>, because only some of part of my program switch to javafx (which is embedded into swing JFrame).</p>
  
  <p>What is the best syntax i can use in scala to have the same (or similar) behaviour based on scala.swing <code>Publisher</code> trait ? </p>
  
  <p>Do you have some link or simple example to illustrate this method ?</p>