code: @Override
      protected void doActionsInSwingThread() {
          if (component instanceof JComboBox) {
              ((JComboBox) component).setSelectedIndex(mIndex);
          } else if (component instanceof JList) {
              ((JList) component).setSelectedIndex(mIndex);
          }
      }
docs: Selects the index.