* so that they are triggered by standard keyboard shortcuts (<tt>CTRL-Z</tt> and
* <tt>CTRL-Y</tt>, respectively).
*
*/
public ComboBoxUndoRedoController(JComboBox combo) {
delegate = new UndoRedoControllerBase();
delegate.addEditSender(new ComboBoxEditSender(combo));
// Note that we use the WHEN_ANCESTOR_OF_FOCUSED_COMPONENT even though
// the documentation mentions WHEN_FOCUSED. This is to handle
// editable comboboxes correctly.
delegate.installKeyBindings(combo, JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT);