ui/src/main/java/ucar/util/prefs/ui/LayoutM.java
public Dimension preferredLayoutSize(Container parent){
      if (globalBounds == null) layoutContainer(parent);
      if (debug) System.out.println(name+" preferredLayoutSize "+globalBounds.getSize()+" "+parent.getInsets());
      return globalBounds.getSize();
    }
public Dimension preferredLayoutSize(Container parent){
      if (globalBounds == null) layoutContainer(parent);
      if (debug) System.out.println(name+" preferredLayoutSize "+globalBounds.getSize()+" "+parent.getInsets());
      return globalBounds.getSize();
    }
public Dimension preferredLayoutSize ( Container parent ) { if ( globalBounds == null ) layoutContainer ( parent ) ; if ( debug ) System . out . println ( name + " preferredLayoutSize " + globalBounds . getSize ( ) + " " + parent . getInsets ( ) ) ; return globalBounds . getSize ( ) ; }
Calculates the preferred size dimensions for the specified
container, given the components it contains.
@param parent the container to be laid out

@see #minimumLayoutSize
Calculates the preferred size dimensions for the specified container given the components it contains . @param parent the container to be laid out