-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.3.0
-
x86
-
windows_nt
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)
======================================================================
- duplicates
-
JDK-4223393 menu item hidden behind applet warning message
-
- Resolved
-