if (i == selectedIndex && focus) { items[i].invertPaint(true); } else { items[i].invertPaint(false); }
items[i].invertPaint(i == highlightedItemIndex && focus);
  int paint(Graphics g)  {		super.paintContent(g);		g.translate(0, super.getHeight());		int translatedY = 0;    StringItem tmp;		for (int i = 0; i < numOfItems; i++) {      if (i == selectedIndex && focus) {        items[i].invertPaint(true);      } else {        items[i].invertPaint(false);      }			items[i].paint(g);      g.translate(0, items[i].getHeight());			translatedY += items[i].getHeight();		}		g.translate(0, -translatedY);		g.translate(0, -super.getHeight());		return getHeight();  }