title: Simple ScalaFx TableView example not compiling
body: <p>I took a TableView code from a simple ScalaFx example (simplified from <a href="http://www.scalafx.org/docs/faq_TableView_with_Custom_cell/" rel="nofollow noreferrer">ScalaFx Custom cells</a>):</p>
  <pre><code>import scalafx.application.JFXApp
  import scalafx.beans.property.StringProperty
  import scalafx.collections.ObservableBuffer
  import scalafx.scene.Scene
  import scalafx.scene.control.{TableColumn, TableView}
  
  object MyTableApp extends JFXApp {
  
    class Person(nameStr : String) {
      val name = new StringProperty(this, &quot;firstName&quot;, nameStr)
    }
  
    val characters = ObservableBuffer[Person](
      new Person(&quot;Peggy Sue&quot;),
      new Person(&quot;Rocky Raccoon&quot;),
      new Person(&quot;Bungalow Bill&quot;)
    )
  
    stage = new JFXApp.PrimaryStage {
      title = &quot;Simple TableView&quot;
      scene = new Scene {
        content = new TableView[Person](characters) {
          columns ++= List(
            new TableColumn[Person, String] {
              text = &quot;First Name&quot;
              cellValueFactory = { _.value.name }
              prefWidth = 100
            }
          )
        }
      }
    }
  }
  </code></pre>
  <p>When compiling it, I get a confusing error:</p>
  <pre><code>Error:(24, 11) type mismatch;
   found   : scalafx.scene.control.TableColumn[MyTableApp.Person,String]
   required: javafx.scene.control.TableColumn[MyTableApp.Person, ?]
            new TableColumn[Person, String] {
  </code></pre>
  <p>What am I doing wrong?</p>
  <p>My build.sbt contains:</p>
  <pre><code>scalaVersion := &quot;2.11.8&quot;
  
  libraryDependencies += &quot;org.scalafx&quot; %% &quot;scalafx&quot; % &quot;8.0.60-R9&quot;
  </code></pre>