title: JavaFX Label extension unable to coerce
body: <p>I'v extended a JavaFX Label. </p>
  
  <pre><code>public class UpdateLabel extends Label{
      private StringProperty updateKeyPrefix = new SimpleStringProperty();
      public String getUpdateKeyPrefix(){
          return this.updateKeyPrefix.get();
      }
      public void setUpdateKeyPrefix(String updateKeyPrefix){
          this.updateKeyPrefix.set(updateKeyPrefix);
      }
  
      private ObjectProperty&lt;Enum&lt;?&gt;&gt; updateKeyEnum = new SimpleObjectProperty&lt;&gt;();
      public Enum&lt;?&gt; getUpdateKeyEnum(){
          return this.updateKeyEnum.get();
      }
      public void setUpdateKeyEnum(Enum&lt;?&gt; updateKeyEnum){
          this.updateKeyEnum.set(updateKeyEnum);
      }
  
      public Update getUpdate(){
          return new Update(this.getUpdateKeyEnum(), this.getUpdateKeyPrefix(), null);
      }
  }
  </code></pre>
  
  <p>Now when i use it in my fxml I get the following errors:</p>
  
  <p><a href="https://i.stack.imgur.com/t1uSw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t1uSw.png" alt="enter image description here"></a></p>
  
  <p>I can still compile regardless, but when I run it I get this:
  <a href="https://i.stack.imgur.com/xS9gQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xS9gQ.png" alt="enter image description here"></a></p>