g.setForegroundColor( ColorManager.getColor( ColorUtil.parseColor( color ) ) );
g.setForegroundColor( ColorManager.getColor( color ) );
	protected void drawBorder( IFigure figure, Graphics g, int side, int style,			int[] width, String color, Insets insets )	{		Rectangle r = figure.getBounds( ).getCopy( ).crop( insets );		if ( style != 0 )		{			//set ForegroundColor with the given color			g.setForegroundColor( ColorManager.getColor( ColorUtil.parseColor( color ) ) );			//if the border style is set to "double",			//draw a double line with the given width and style of "solid"			if ( style == -2 )			{				BorderUtil.drawDoubleLine( g, side, width, r );			}			// if the border style is set to "solid", "dotted" or "dashed",			//draw a single line according to the give style and width			else			{				BorderUtil.drawSingleLine( g, side, style, width, r );			}		}		else		{			g.setForegroundColor( ReportColorConstants.ShadowLineColor );			//if the border style is set to none, draw a default dot line in			// black as default			BorderUtil.drawDefaultLine( g, side, r );		}		g.restoreState( );	}