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

Tab in FXML: define content property as DefaultProperty

XMLWordPrintable

      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.

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

              Created:
              Updated:
              Resolved:
              Imported: