public Dimension maximumLayoutSize(Container target){
  return new Dimension(Integer.MAX_VALUE,Integer.MAX_VALUE);
}

public Dimension maximumLayoutSize ( Container target ) { return new Dimension ( Integer . MAX_VALUE , Integer . MAX_VALUE ) ; }
returns the maximum dimensions for this layout given the components in the specified target container .
