repaint();
this.repaint();
    public void setXindex(int x) {      // this just ensures that the shapes get disposed of       //if the attribs change      if (x != m_xIndex) {	cancelShapes();      }      m_xIndex = x;      repaint();    }