boolean isPaintParentWhileLoading() {
      return getOrientation() == SwingConstants.HORIZONTAL &&
             myParent.getOrientation() == SwingConstants.HORIZONTAL &&
             !hasVisibleActions() && myParent.hasVisibleActions() &&
             getComponentCount() == 1 && getComponent(0) instanceof JLabel &&
             LOADING_LABEL.equals(getComponent(0).getName());
    }
boolean isPaintParentWhileLoading()