void (MouseEvent e) { TextUI ui = getUI(); //noinspection unchecked if (ui instanceof Condition && ((Condition)ui).value(e)) return; if (e.getID() == MouseEvent.MOUSE_PRESSED && e.getX() < JBUIScale.scale(28) && myModel.myFullList.size() > 0) { myTextField.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR)); if (e.getClickCount() == 1) { showPopup(); } } else { myTextField.setCursor(Cursor.getPredefinedCursor(Cursor.TEXT_CURSOR)); } super.processMouseEvent(e); }