logger.fine("WS.consumesEvent: " + awtEvent);
if (Gui2D.isChangeControlEvent(awtEvent)) {
logger.fine("Is Change Control Event");
// Perform the control toggle immediately
ControlArb controlArb = app.getControlArb();
if (controlArb != null) {
if (controlArb.hasControl()) {
controlArb.releaseControl();
} else {
controlArb.takeControl();
}
}
return EventAction.DISCARD;
}
logger.fine("Isn't change control event " + awtEvent);