JDK-6490753 : Vista:JComboBox doesn't looks as native combobox in different states of component.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6,8,9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_vista
  • CPU: x86
  • Submitted: 2006-11-07
  • Updated: 2017-04-20
  • Resolved: 2017-03-06
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.
JDK 10 JDK 9
10Fixed 9 b161Fixed
Related Reports
Relates :  
Relates :  
Description
Bug Description:
================
JComboBox differs from native ComboBox in the following areas.

1.JComboBox shows light gray outline border but native ComboBox shows dark gray.
2.JComboBox shows the edges as square shape but native ComboBox shows the edges as ovel shape.
3.In JComboBox the selected item left margin space approx. two pixel margin space but native ComboBox shows approx. five pixel margin space.
4. JComboBox drop down slightly below the center while comparing with native ComboBox drop down arrow.
5.JComboBox drop down list box shows the black outline border but native ComboBox drop down list shows light gray color.
6.JComboBox items in the drop list have approx.1 pixel space but native ComboBox items in list have approx. 5 pixel.
7. The outline border of selected JComboBox shows the gray color but native ComboBox shows the dark blue color outline border.
8. Space between two items in JComboBox is varying by comparing with the space between two items in native ComboBox.
9.JComboBox shows the gray color outline border  but native ComboBox shows the dark blue color outline border while rollover on component.

Please check the below link for identifying the variations between the java and native components.

http://sqindia.india/disk11/swing/vinay/ComboBoxLAF_Scr/ComboBoxLAF_Vista.html


JDK Info:
=========
java version "1.6.0-rc"
Java(TM) SE Runtime Environment (build 1.6.0-rc-b104)
Java HotSpot(TM) Client VM (build 1.6.0-rc-b104, mixed mode)

Vista Info:
===========
Vista Build No: 5840
Vista Theme: Default Theme(Aero)