getFigure( ).setBorder( new ReportDesignMarginBorder( getMasterPageInsets( masterPageHandle ) ) );
ReportDesignMarginBorder reportDesignMarginBorder = new ReportDesignMarginBorder( getMasterPageInsets( masterPageHandle ) ); reportDesignMarginBorder.setBackgroundColor( masterPageHandle.getProperty( Style.BACKGROUND_COLOR_PROP )); getFigure( ).setBorder( reportDesignMarginBorder );
	public void refreshFigure( )	{		SlotHandle slotHandle = ( (ReportDesignHandle) getModel( ) ).getMasterPages( );		Iterator iter = slotHandle.iterator( );		SimpleMasterPageHandle masterPageHandle = (SimpleMasterPageHandle) iter.next( );		Dimension size = getMasterPageSize( masterPageHandle );		Rectangle bounds = new Rectangle( 0, 0, size.width - 1, size.height - 1 );		( (ReportDesignLayout) getFigure( ).getLayoutManager( ) ).setInitSize( bounds );		getFigure( ).setBounds( bounds );		getFigure( ).setBorder( new ReportDesignMarginBorder( getMasterPageInsets( masterPageHandle ) ) );		int color = getBackgroundColor( masterPageHandle );		getFigure( ).setBackgroundColor( ColorManager.getColor( color ) );		refreshBackground( masterPageHandle );	}