6988168: Press the "Toggle Font" button.The size of the combo box didn't change.
Reviewed-by: alexp
--- a/jdk/src/share/classes/javax/swing/plaf/basic/BasicComboBoxUI.java Mon Jan 31 21:49:27 2011 +0300
+++ b/jdk/src/share/classes/javax/swing/plaf/basic/BasicComboBoxUI.java Wed Feb 02 18:37:31 2011 +0300
@@ -1721,6 +1721,7 @@
editor.setFont( comboBox.getFont() );
}
isMinimumSizeDirty = true;
+ isDisplaySizeDirty = true;
comboBox.validate();
}
else if ( propertyName == JComponent.TOOL_TIP_TEXT_KEY ) {