-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
6
-
x86
-
windows_xp
There seems a small regression with JDK 1.6 with build 100.
If the ComboBoxModel is changed in the method
popupMenuWillBecomeVisible(PopupMenuEvent) then the size of the popup menu
will not corrected with the new model. The size of the popup menu is equals
the previous ComboBoxModel. With Java 5 the popup size is correct. Attached
attached a simple test case TestComboBox.java.
If the ComboBoxModel is changed in the method
popupMenuWillBecomeVisible(PopupMenuEvent) then the size of the popup menu
will not corrected with the new model. The size of the popup menu is equals
the previous ComboBoxModel. With Java 5 the popup size is correct. Attached
attached a simple test case TestComboBox.java.
- duplicates
-
JDK-4743225 Size of JComboBox list is wrong when list is populated via PopupMenuListener
- Closed
- relates to
-
JDK-5029504 Empty JComboBox drop-down list is unexpectedly high
- Resolved