int arrowSize = comboBox.getHeight();
Insets i = getInsets(); int arrowSize = comboBox.getHeight() - (i.top + i.bottom);
    public void layoutContainer(Container parent)    {      // Position editor component to the left of arrow button if combo box is       // editable      int arrowSize = comboBox.getHeight();      int editorWidth = comboBox.getBounds().width - arrowSize;      if (comboBox.isEditable())        editor.setBounds(0, 0, editorWidth, comboBox.getBounds().height);            arrowButton.setBounds(editorWidth, 0, arrowSize, arrowSize);      comboBox.revalidate();    }