void (MouseEvent e) { if (!icons.isEmpty()) { handleMouse(e, false); } else if (getComponent() != null && isSearchField(getComponent())) { SearchAction action = getActionUnder(e.getPoint()); setCursor(action != null ? Cursor.HAND_CURSOR : Cursor.TEXT_CURSOR); } }