@Override
    public void doLayout() {
      super.doLayout();
      if (isPaintParentWhileLoading()) {
        JLabel component = (JLabel)getComponent(0);
        component.setLocation(component.getX() + myParent.getWidth(), component.getY());
      }
    }
@Override
    public void doLayout()