- public void itemStateChanged(ItemEvent evt) {
- viewer.moveFocusToDesktop();
- int state = evt.getStateChange();
- int extraModifiers = 0;
- if (altCheckbox.getState()) { extraModifiers |= InputEvent.ALT_MASK; }
- if (ctrlCheckbox.getState()) { extraModifiers |= InputEvent.CTRL_MASK; }
- viewer.vc.extraModifiers = extraModifiers;
- }