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

Tooltips are hidden behind applet window's security banner

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 1.3.0
    • Fix Version/s: None
    • Component/s: client-libs

      Description



      Name: boT120536 Date: 03/08/2001


      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
      Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)

      Windows such as JFrames and JDialogs created by an unsigned applet have a
      banner on the bottom with the message "Java Applet Window", to warn the user of
      security issues. If a tooltip is displayed near the bottom of the window, the
      tooltip is obscured by the security banner.

      The problem is in ToolTipManager.getPopupFitHeight(). This method uses
      getBounds() to find the size of the enclosing JFrame or JDialog, and then
      adjusts the tooltip position so the tooltip lies within the bounds. But the
      method forgets to subtract the JFrame's or JDialog's insets first.

      By ignoring the insets, the tooltip is positioned too low and is partially
      covered by the security banner.
      (Review ID: 118354)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                apikalev Andrey Pikalev
                Reporter:
                bonealsunw Bret O'neal (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: