if (layoutMgr != null) return layoutMgr.minimumLayoutSize (this);
if(valid && minSize != null) return new Dimension(minSize);  LayoutManager layout = getLayout(); if (layout != null) { minSize = layout.minimumLayoutSize (this); return minSize; }
  public Dimension minimumSize()  {    if (layoutMgr != null)      return layoutMgr.minimumLayoutSize (this);    else      return super.minimumSize ();  }