Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-1416

FXML Editor instances that has constructor by NamedArg annotaton

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 8.2, 9.0, 10.0
    • None
    • cnd - Editor
    • None

    Description

       

       

      FXML Editor giving following hints,

      "Instances of tr.com.sparrow.fxml.MyAnimation cannot be created by FXML loader"

      "Class 'tr.com.sparrow.fxml.MyAnimation' does not support property 'text'"

      Class 'tr.com.sparrow.fxml.MyAnimation' does not support property 'msg'

       

      MyAnimation class has constructor that give two parameter by NamedArg annotation,

      At runtime no problem , FXMLLoader can create the  MyAnimation instance, 

      It seems FXML Editor giving the hints at design time.

       

       

       

       

      Attachments

        1. MyAnimation.java
          0.5 kB
          Ugur KARA
        2. Test.java
          1 kB
          Ugur KARA
        3. MyView.fxml
          0.6 kB
          Ugur KARA

        Activity

          People

            Unassigned Unassigned
            ugurkara Ugur KARA
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: