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

[Tooltip, ContextMenu] FXML defined id is null

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8u20
    • Fix Version/s: 8u20
    • Component/s: javafx
    • Labels:
    • Environment:

      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

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: