else if ( sProperty.equals(IDeviceRenderer.DPI_RESOLUTION ) ) { getDisplayServer().setDpiResolution( ((Integer)oValue).intValue()); }
	public void setProperty( String sProperty, Object oValue )	{		if ( sProperty.equals( IDeviceRenderer.UPDATE_NOTIFIER ) )		{			_iun = (IUpdateNotifier) oValue;			_lhmAllTriggers.clear( );			Object obj = _iun.peerInstance( );			if ( obj instanceof JComponent )			{				JComponent jc = (JComponent) obj;				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] );					}				}				KeyListener[] kla = jc.getKeyListeners( );				for ( int i = 0; i < kla.length; i++ )				{					if ( kla[i] instanceof SwingEventHandler )					{						jc.removeKeyListener( kla[i] );					}				}				_eh = new SwingEventHandler( _lhmAllTriggers, _iun, getLocale( ) );				jc.addMouseListener( _eh );				jc.addMouseMotionListener( _eh );				jc.addKeyListener( _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( ) ) );		}	}