Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8101895

Tab in FXML: define content property as DefaultProperty

    XMLWordPrintable

    Details

      Description

      The content property of the Tab control should be tagged with @DefaultProperty so it could be used in FXML without having to define a <content></content> element.

      Currently the following error is raised when loading a FXML containing a Tab control without a <content></content> element.

      javafx.fxml.FXMLLoader logException
      SEVERE: Element does not define a default property.

        Attachments

          Activity

            People

            Assignee:
            kwwong Kinsley Wong
            Reporter:
            fbouyajfx Fabrice Bouyé (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: