code: private void dealWithMainComponent() {
  
  		this.typeToLocation.put(
  				this.component,
  				new Point2D.Double( this.hMargin, this.currentHeigth ));
  
  		int width = H_PADDING + GraphUtils.computeShapeWidth( this.component );
  		this.maxRowWidth = Math.max( this.maxRowWidth, width );
  		this.aloneOnRow.add( this.component );
  	}
docs: Finds the position for the main component.