@Override public int maximumSize(Container container,List components,FormLayout.Measure minMeasure,FormLayout.Measure prefMeasure,FormLayout.Measure defaultMeasure){
  FormLayout.Measure measure=this == MINIMUM ? minMeasure : (this == PREFERRED ? prefMeasure : defaultMeasure);
  int maximum=0;
  for (Iterator i=components.iterator(); i.hasNext(); ) {
    Component c=(Component)i.next();
    maximum=Math.max(maximum,measure.sizeOf(c));
  }
  return maximum;
}

@ Override public int maximumSize ( Container container , List components , FormLayout . Measure minMeasure , FormLayout . Measure prefMeasure , FormLayout . Measure defaultMeasure ) { FormLayout . Measure measure = this == MINIMUM ? minMeasure : ( this == PREFERRED ? prefMeasure : defaultMeasure ) ; int maximum = 0 ; for ( Iterator i = components . iterator ( ) ; i . hasNext ( ) ; ) { Component c = ( Component ) i . next ( ) ; maximum = Math . max ( maximum , measure . sizeOf ( c ) ) ; } return maximum ; }
computes the maximum size for the given list of components , using this form spec and the specified measure . < p > invoked by formlayout to determine the size of one of my elements
