title: JavaFX: can FXML field be private?
body: <p>In <a href="https://stackoverflow.com/q/27884628/5057736">this question</a> I see that a field is private. However, when I do </p>
  
  <pre><code>public MyController
  {
      @FXML
      private Button button;
  }
  </code></pre>
  
  <p>I get </p>
  
  <blockquote>
    <p>Failed to execute goal
    org.apache.maven.plugins:maven-compiler-plugin:3.3:compile
    (default-compile) on project TEMP: Compilation failure
    MyController.java:[x,x] button has private access in MyContoller
    -> [Help 1]</p>
  </blockquote>
  
  <p>Is this problem in maven or in javafx?</p>