if ( mla[i] instanceof SwingEventHandler )
JComponent jc = (JComponent) obj;  MouseListener[] mla = jc.getMouseListeners( ); for ( int i = 0; i < mla.length; i++ )
	public void setProperty( String sProperty, Object oValue )	{		if ( sProperty.equals( IDeviceRenderer.UPDATE_NOTIFIER ) )		{			_iun = (IUpdateNotifier) oValue;			JComponent jc = (JComponent) _iun.peerInstance( );			_lhmAllTriggers.clear( );			MouseListener[] mla = jc.getMouseListeners( );			for ( int i = 0; i < mla.length; i++ )			{				if ( mla[i] instanceof SwingEventHandler )				{					jc.removeMouseListener( mla[i] );				}			}			MouseMotionListener[] mmla = jc.getMouseMotionListeners( );			for ( int i = 0; i < mmla.length; i++ )			{				if ( mmla[i] instanceof SwingEventHandler )				{					jc.removeMouseMotionListener( mmla[i] );				}			}			_eh = new SwingEventHandler( _lhmAllTriggers, _iun, getLocale( ) );			jc.addMouseListener( _eh );			jc.addMouseMotionListener( _eh );		}		else if ( sProperty.equals( IDeviceRenderer.GRAPHICS_CONTEXT ) )		{			_g2d = (Graphics2D) oValue;			_g2d.setRenderingHint( RenderingHints.KEY_TEXT_ANTIALIASING,					RenderingHints.VALUE_TEXT_ANTIALIAS_ON );			_g2d.setRenderingHint( RenderingHints.KEY_ANTIALIASING,					RenderingHints.VALUE_ANTIALIAS_ON );			_g2d.setRenderingHint( RenderingHints.KEY_FRACTIONALMETRICS,					RenderingHints.VALUE_FRACTIONALMETRICS_ON );			// _frc = new FontRenderContext(new AffineTransform(), true, false);			logger.log( ILogger.INFORMATION,					Messages.getString( "info.using.graphics.context", //$NON-NLS-1$							new Object[]{								_g2d							}, getLocale( ) ) );		}	}