While running SwingSet2 on any win32 platform, bring up the display settings
dialog box (Control Panel, Display) and click on the Appearance tab.
From the "Item" combo box, choose the "Active Window Border" item.
Change the color to something non-standard to make this bug obvious.
Now change the Size to something large, like 10 or more.
make the Swing window active. Note that it now has the correct
window border color/width. Note that it also has a gray (at least
on my systems) wide line to the on the inside left and top borders
of the active window border. This line scrunches the contents of the
window over to make room for it.
It seems like this might be a shadow line of the border which looks fine when
the border is of width one, but is incorrectly sized when the border
is of width >1.
Note that this bug occurs in the default (metal) look and feel as well as
Windows look and feel (I didn't try any others).
- relates to
-
JDK-4391417 Win2000 LookAndFeel:Vertical & horizontal lines appear on the active Window
-
- Closed
-