Graphics g = getGraphics();
Graphics g = PlotPanel.this.getGraphics();
	  public void mousePressed(MouseEvent e) {	    if ((e.getModifiers() & e.BUTTON1_MASK) == e.BUTTON1_MASK) {	      //	      if (m_sIndex == 0) {		//do nothing it will get dealt to in the clicked method	      }	      else if (m_sIndex == 1) {		m_createShape = true;		m_shapePoints = new FastVector(5);		m_shapePoints.addElement(new Double(m_sIndex));		m_shapePoints.addElement(new Double(e.getX()));		m_shapePoints.addElement(new Double(e.getY()));		m_shapePoints.addElement(new Double(e.getX()));		m_shapePoints.addElement(new Double(e.getY()));		Graphics g = getGraphics();		g.setColor(Color.black);		g.setXORMode(Color.white);		g.drawRect(((Double)m_shapePoints.elementAt(1)).intValue(),			   ((Double)m_shapePoints.elementAt(2)).intValue(),			   ((Double)m_shapePoints.elementAt(3)).intValue() -			   ((Double)m_shapePoints.elementAt(1)).intValue(), 			   ((Double)m_shapePoints.elementAt(4)).intValue() -			   ((Double)m_shapePoints.elementAt(2)).intValue());		g.dispose();	      }	      //System.out.println("clicked");	    }	    //System.out.println("clicked");	  }