if ( obj instanceof String ) { color = ColorUtil.parseColor( (String) obj ); } else { color = ( (Integer) obj ).intValue( ); }
color = handle.getPropertyHandle( StyleHandle.BACKGROUND_COLOR_PROP ).getIntValue( );
	public void drawBackgroud( Object model, Graphics g, Rectangle rect )	{		assert model instanceof DesignElementHandle;		DesignElementHandle handle = (DesignElementHandle) model;		Object obj = handle.getProperty( StyleHandle.BACKGROUND_COLOR_PROP );		if ( obj != null )		{			int color = 0xFFFFFF;			if ( obj instanceof String )			{				color = ColorUtil.parseColor( (String) obj );			}			else			{				color = ( (Integer) obj ).intValue( );			}			g.setBackgroundColor( ColorManager.getColor( color ) );			g.fillRectangle( rect );		}	}