mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
getSizeForComponent is protected in BasicComboBoxUI of JDK 7
This commit is contained in:
+1
-1
@@ -195,7 +195,7 @@ public class DarculaComboBoxUI extends BasicComboBoxUI implements Border {
|
||||
return display;
|
||||
}
|
||||
|
||||
private Dimension getSizeForComponent(Component comp) {
|
||||
protected Dimension getSizeForComponent(Component comp) {
|
||||
currentValuePane.add(comp);
|
||||
comp.setFont(comboBox.getFont());
|
||||
Dimension d = comp.getPreferredSize();
|
||||
|
||||
Reference in New Issue
Block a user