JDK-6432397 : Windows l&f on Vista JComboBox does not look like native
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_vista
  • CPU: generic
  • Submitted: 2006-05-31
  • Updated: 2017-05-16
  • Resolved: 2006-08-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other JDK 6
5.0u12Fixed 6 b96Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
Windows l&f on Vista JComboBox does not look like native.
Please compare attached images.

Comments
EVALUATION There are two followup bugs on this one: 6491420 XPStyle.getSkin returning null is dangerous 6490679 Vista:In disabled JComboBox the drop down button background shows black color and looks enabled.
08-11-2006

EVALUATION The problems I wanted to address with the fix: 1. On Vista background for readonly ComboBox is skin painted 2. On Vista foreground for selected ComboBox is the same as for unselected one 3. On Vista focused readonly ComboBox has dashed border 4. On Vista ComboBox has HOT state 5. Both on Vista and on XP mouse over editable ComboBox does not switch rollover for the arrow button 6. On Vista arrow button glyph is different for editable and readonly cases 7. On Vista left and right arrow buttons might differ Problmes not covered by the fix: 1. Both on Vista and on XP EditableCombobox selects all on focus gained 2. Both on Vista and on XP RTL java ComboBox is different than native one 3. On Vista ComboBox is not rectangular
11-07-2006

EVALUATION We do not use correct PARTs to paint JComboBox on Vista
13-06-2006