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

[Tooltip, ContextMenu] FXML defined id is null

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 8u20
    • 8u20
    • javafx
    • Windows 8.1
      java 8u20 - b13

    Description

      I defined and used a tooltip in a FXML file as follows and when I check the tooltip in runtime, the tooltip is there but the id is missing!

      ------------------
        <fx:define>
      <Tooltip fx:id="providerNumberTooltip_TT" text="Provider Number33"/>
      </fx:define>
          <Label text="Provider Number:" fx:id="providerNumber_c_LB" tooltip="$providerNumberTooltip_TT"/>
      ---------------
      control.getTooltip().getText() -> "Provider Number33"

      control.getTooltip().getId() -> null

      Attachments

        Activity

          People

            jgiles Jonathan Giles
            hadijfx Hadi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: