Graphics g = getGraphics();
Graphics g = PlotPanel.this.getGraphics();
	  public void mouseMoved(MouseEvent e) {	    if (m_createShape) {	      if (((Double)m_shapePoints.elementAt(0)).intValue() == 2 || 		  ((Double)m_shapePoints.elementAt(0)).intValue() == 3) {		Graphics g = getGraphics();		g.setColor(Color.black);		g.setXORMode(Color.white);		g.drawLine((int)Math.ceil(convertToPanelX					  (((Double)m_shapePoints.elementAt					    (m_shapePoints.size() - 2)).					   doubleValue())),			   (int)Math.ceil(convertToPanelY					  (((Double)m_shapePoints.elementAt					    (m_shapePoints.size() - 1)).					   doubleValue())),			   m_newMousePos.width, m_newMousePos.height);				m_newMousePos.width = e.getX();		m_newMousePos.height = e.getY();				g.drawLine((int)Math.ceil(convertToPanelX					  (((Double)m_shapePoints.elementAt					    (m_shapePoints.size() - 2)).					   doubleValue())),			   (int)Math.ceil(convertToPanelY					  (((Double)m_shapePoints.elementAt					    (m_shapePoints.size() - 1)).					   doubleValue())),			   m_newMousePos.width, m_newMousePos.height);		g.dispose();	      }	    }	  }