super.addComponent( c, constraint ); getContainer().setPreferredPercentageSize( fDim );
super.addComponent(c, constraint); setPreferredSize(fDim);
	public void addComponent( SComponent c, Object constraint )     {		if (constraint == null)            constraint = CENTER;		        if ( c.getHorizontalAlignment() == SConstants.NO_ALIGN )         {			if ( constraint == WEST )				c.setHorizontalAlignment( SConstants.LEFT );			else			if ( constraint == EAST )				c.setHorizontalAlignment( SConstants.RIGHT );			/* CENTER, SOUTH, NORTH */			else				c.setHorizontalAlignment( SConstants.CENTER );         }        if ( c.getVerticalAlignment() == SConstants.NO_ALIGN )         {			if ( constraint == CENTER )				c.setVerticalAlignment( SConstants.CENTER );			else			if ( constraint == SOUTH )				c.setVerticalAlignment( SConstants.BOTTOM );			else			if ( constraint == NORTH )				c.setVerticalAlignment( SConstants.TOP );			/* WEST, EAST */			else				c.setVerticalAlignment( SConstants.CENTER );         }         		super.addComponent( c, constraint );        getContainer().setPreferredPercentageSize( fDim );     }