public void addItemListener(ItemListener aListener) {
    if(myComponent instanceof JComboBox) {
      ((JComboBox<?>) myComponent).addItemListener(aListener);
    }
  }
public void addItemListener(ItemListener aListener)