public String toString(){
  if (springsChanged) {
    registerComponents(horizontalGroup,HORIZONTAL);
    registerComponents(verticalGroup,VERTICAL);
  }
  StringBuffer buffer=new StringBuffer();
  buffer.append("HORIZONTAL\n");
  dump(buffer,horizontalGroup,"  ",HORIZONTAL);
  buffer.append("\nVERTICAL\n");
  dump(buffer,verticalGroup,"  ",VERTICAL);
  return buffer.toString();
}

public String toString ( ) { if ( springsChanged ) { registerComponents ( horizontalGroup , HORIZONTAL ) ; registerComponents ( verticalGroup , VERTICAL ) ; } StringBuffer buffer = new StringBuffer ( ) ; buffer . append ( "HORIZONTAL\n" ) ; dump ( buffer , horizontalGroup , "  " , HORIZONTAL ) ; buffer . append ( "\nVERTICAL\n" ) ; dump ( buffer , verticalGroup , "  " , VERTICAL ) ; return buffer . toString ( ) ; }
returns a textual description of this grouplayout . the return value is intended for debugging purposes only .
