if (allowCycle) { allowCycle = false; i = this.items.length - 1; } else {
if (allowCycle) { allowCycle = false; i = this.items.length - 1; } else { break; }
	private boolean shiftFocus(boolean forwardFocus, int steps ) {		if ( this.items == null ) {			return false;		}		int i = this.focusedIndex + steps;		if (i > this.items.length) {			i = this.items.length - 2;		}		if (i < 0) {			i = 1;		}		Item item = null;		boolean allowCycle = this.enableScrolling;		if (allowCycle) {			if (forwardFocus) {				// when you scroll to the bottom and				// there is still space, do				// scroll first before cycling to the				// first item:				allowCycle = (this.yOffset + this.itemHeight <= this.yBottom);			} else {				// when you scroll to the top and				// there is still space, do				// scroll first before cycling to the				// last item:				allowCycle = (this.yOffset == 0);			}		}		while (true) {			if (forwardFocus) {				i++;				if (i >= this.items.length) {					if (allowCycle) {						allowCycle = false;						i = 0;					} else {						break;					}				}			} else {				i--;				if (i < 0) {					if (allowCycle) {						allowCycle = false;						i = this.items.length - 1;					} else {						break;					}				}			}			item = this.items[i];			if (item.appearanceMode != Item.PLAIN) {				break;			}		}		if (item == null || item.appearanceMode == Item.PLAIN) {			return false;		}		focus(i, item);		return true;	}