gc.setBackground( cBackground ); gc.fillRectangle( 0, 0, this.getSize( ).x, this.getSize( ).y );
	public void paintControl( PaintEvent pe )	{		if ( isEnabled( ) && isFocusControl( ) )		{			isFocusIn = true;		}				Color cForeground = null;		Color cBackground = null;		if ( this.isEnabled( ) )		{			cForeground = Display.getCurrent( )					.getSystemColor( SWT.COLOR_BLACK );			cBackground = Display.getCurrent( )					.getSystemColor( SWT.COLOR_LIST_BACKGROUND );		}		else		{			cForeground = Display.getCurrent( )					.getSystemColor( SWT.COLOR_DARK_GRAY );			cBackground = Display.getCurrent( )					.getSystemColor( SWT.COLOR_WIDGET_BACKGROUND );		}		GC gc = pe.gc;		gc.setBackground( cBackground );		gc.fillRectangle( 0, 0, this.getSize( ).x, this.getSize( ).y );		// Render a gray background to indicate focus		if ( isFocusIn )		{			gc.setBackground( Display.getCurrent( )					.getSystemColor( SWT.COLOR_LIST_SELECTION ) );			gc.fillRectangle( 1, 1, getSize( ).x - 3, this.getSize( ).y - 3 );		}		gc.setForeground( cForeground );		gc.setLineStyle( iLineStyle );		gc.setLineWidth( iLineWidth );		gc.drawLine( 10,				this.getSize( ).y / 2,				this.getSize( ).x - 10,				this.getSize( ).y / 2 );		// Render a boundary line to indicate focus		if ( isFocusIn )		{			gc.setLineStyle( SWT.LINE_DOT );			gc.setLineWidth( 1 );			gc.setForeground( Display.getCurrent( )					.getSystemColor( SWT.COLOR_BLACK ) );			gc.drawRectangle( 1, 1, getSize( ).x - 3, this.getSize( ).y - 3 );		}	}