-
Bug
-
Resolution: Unresolved
-
P4
-
None
-
1.4.0, 5.0
-
generic, x86
-
generic, windows_nt
Combobox don't get resized according to font size if L&F is changed at zero font size and than font size is increased again
Steps to reproduce:
1) Run the attached testcase TestResizeBehaviour
2) Click on "Decrease font size" button till you see on
console font size as Zero.
3) Now change the Look and Feel to some other Look and Feel(Say motif) by going
in Look and feel menu. Notice that checkbox size remains unchanged but
changin L&F changes size of Combobox
4) Now click sometimes on increase font size button to give font size of 10
Notice: Checkbox will regain its old size and display text properly,
But combo box appears still small and don't gain any size.
Reproducible on tiger beta2 b40
Steps to reproduce:
1) Run the attached testcase TestResizeBehaviour
2) Click on "Decrease font size" button till you see on
console font size as Zero.
3) Now change the Look and Feel to some other Look and Feel(Say motif) by going
in Look and feel menu. Notice that checkbox size remains unchanged but
changin L&F changes size of Combobox
4) Now click sometimes on increase font size button to give font size of 10
Notice: Checkbox will regain its old size and display text properly,
But combo box appears still small and don't gain any size.
Reproducible on tiger beta2 b40
- duplicates
-
JDK-5030788 Regression-test javax/swing/JComboBox/4157329/bug4157329.java fails
-
- Closed
-
-
JDK-5007717 PreferredSize is not recomputed for JComboBox when new font is set
-
- Closed
-
-
JDK-6244041 JComboBox does not get resized correctly in case of a font change
-
- Closed
-