protected static void passThroughEvent(final ActionEvent event, final String correspondingCommand) {
JComboBox comboBox = (JComboBox)event.getSource();
JList popupList = ((BasicComboBoxUI)comboBox.getUI()).popup.getList();
Action action = popupList.getActionMap().get(correspondingCommand);
if (action != null) {
action.actionPerformed(new ActionEvent(popupList, ActionEvent.ACTION_PERFORMED, correspondingCommand, event.getWhen(), event.getModifiers()));
comboBox.setSelectedIndex(popupList.getSelectedIndex());
}
}
}