boolean (final MouseEvent e) { boolean actionClick = myActionTrigger == MOUSE_PRESSED_RELEASED ? UIUtil.isActionClick(e, MouseEvent.MOUSE_PRESSED) || UIUtil.isActionClick(e, MouseEvent.MOUSE_RELEASED) : UIUtil.isActionClick(e, myActionTrigger); if (actionClick) return false; pass(e); return true; }