boolean (MouseEvent e) { int index = myList.getSelectedIndex(); Rectangle bounds = myList.getCellBounds(index, index); if (bounds != null) { JBInsets.removeFrom(bounds, UIUtil.getListCellPadding()); } Point point = e.getPoint(); return bounds != null && point.getX() > bounds.width + bounds.getX() - NEXT_STEP_AREA_WIDTH; }