public void paint(Component owner, Graphics g) {
    if (!isStatusVisibleInner()) {
      return;
    }
    if (owner == myOwner) {
      doPaintStatusText(g, getTextComponentBound());
    }
    else {
      paintOnComponentUnderViewport(owner, g);
    }
  }
public void paint(Component owner, Graphics g)