-
Bug
-
Resolution: Fixed
-
P5
-
6
-
b88
-
x86
-
windows_xp
java version "1.6.0-rc"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-rc-b68)
Java HotSpot(TM) Client VM (build 1.6.0-rc-b68, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
EXTRA RELEVANT SYSTEM CONFIGURATION :
using visual style/theme from http://osx.portraitofakite.com
A DESCRIPTION OF THE PROBLEM :
Bug ID 5106661 claims to have been fixed in the first release candidate, Jan 2006 of Mustang. True, many components (scroll bars, small JButtons, etc.) are rendered correctly, however JComboBoxes are obviously not:
- The JComboBox height is too tall.
- The JComboBox appears to have too wide of a padding inside (i.e., the button and text are indented too far from the left and right edges of the JComboBox.
- The up and down arrows on the JComboBoxes button have white borders.
- The JComboBox is drawn with the wrong border (on my particular config, it has no border at all)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Install the Mac OS X theme for Windows XP from http://osx.portraitofakite.com
Make a small test application that opens the Swing JFileChooser dialog.
Examine how this dialog compares to a native Open dialog, also affected by the theme, such as in Mozilla's Firefox browser
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
If native apps can render JComboBoxes correctly with an XP theme, then so should Mustang.
ACTUAL -
JComboBoxes are too tall, unbordered, and have exta padding, and poor spinner buttons on the pull-down button, compared to native ComboBoxes
REPRODUCIBILITY :
This bug can be reproduced always.
- duplicates
-
JDK-6397105 WinL&F : Comboboxes don't show all states under Vista
- Closed
-
JDK-6423045 WinLAF:JComboBox differs while compare with native combobox using 3rd party eclipse theme.
- Closed
- relates to
-
JDK-6438050 WinL&F: On XP the JComboBox insets are wrong.
- Closed
-
JDK-5051042 JTextField and JComboBox have incorrect height under Windows L&F
- Closed
-
JDK-6291575 XP L&F: Platform look and feel is broken with non-default themes
- Closed
-
JDK-6390608 WinLAF: Theme glyphs with transparency are rendered incorrectly.
- Closed
-
JDK-6418233 JComboBox has improper margins on Windows XP
- Closed