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

Documentation for ToolTipManager#setDismissDelay incorrect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.2.2
    • docs
    • beta
    • generic
    • generic



      Name: rlT66838 Date: 08/04/99


      The documentation for setDismissDelay( int ) is incorrect. It states that this delay is "an int specifying the number of microseconds to delay (after the cursor has moved on) before taking away the tooltip".

      First, it's milliseconds, not microseconds (huge difference!).

      Second, this delay is used even if the cursor has not moved. For example, if you don't move the mouse once the ToolTip appears, the ToolTip will still disappear after the Dismiss Delay.

      Personally, I think that the Dismiss Delay _should_ work the way it's documented (except for the microseconds deal). The ToolTip should remain as long as the cursor is over the component, but should disappear within the Reshow Delay if the cursor moves outside the component.
      (Review ID: 93477)
      ======================================================================

            sharonz Sharon Zakhour (Inactive)
            rlewis Roger Lewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: