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