height = area.y + area.height - y;
height = item.height;
private void redrawTabArea(int index) {	int x = 0, y = 0, width = 0, height = 0;	if (index == -1) {		Rectangle area = super.getClientArea();		if (area.width == 0 || area.height == 0) return;		width = area.x + area.width - BORDER_LEFT - BORDER_RIGHT;		height = getTabHeight() + 1; // +1 causes top line between content and tabs to be redrawn		x = area.x + BORDER_LEFT;		y = area.y + BORDER_TOP; 		if (onBottom) {			y = Math.max(0, area.y + area.height - BORDER_BOTTOM - height);		}	} else {		CTabItem item = items[index];		x = item.x;		y = item.y;		Rectangle area = super.getClientArea();		width = area.x + area.width - x;		height = area.y + area.height - y;	}	redraw(x, y, width, height, false);}