void (boolean vertical) { removeAll(); myVertical = vertical; final int cursorType = isVertical() ? Cursor.N_RESIZE_CURSOR : Cursor.W_RESIZE_CURSOR; UIUtil.setCursor(this, Cursor.getPredefinedCursor(cursorType)); }