g.setForegroundColor( ColorManager.getColor( ColorUtil.parseColor( color ) ) );
g.setForegroundColor( ColorManager.getColor( color ) );
	private void drawBorder( IFigure figure, Graphics g, Insets in, int side,			int style, int[] width, String color )	{		Rectangle r = figure.getBounds( ).getCropped( in );		//Outline the border		//indicatorDimension = calculateIndicatorDimension( g, width[side] );		//if the border style is not set to "none", draw line with given style,		// width and color		if ( style != 0 )		{			//set foreground color			g.setForegroundColor( ColorManager.getColor( ColorUtil.parseColor( color ) ) );			if ( style == -2 )			{				//drawDouble line				BorderUtil.drawDoubleLine( g, side, width, r );			}			else			{				//draw single line				BorderUtil.drawSingleLine( g, side, style, width, r );			}		}		//if the border style is set to "none", draw a black solid line as		// default		else		{			g.setForegroundColor( ReportColorConstants.ShadowLineColor );			//draw default line			BorderUtil.drawDefaultLine( g, side, r );		}		g.restoreState( );	}