if (m_oldWidth != getWidth()) { removeAll(); m_oldWidth = getWidth();
if (m_oldWidth != this.getWidth()) { this.removeAll(); m_oldWidth = this.getWidth();
    public void paintComponent(Graphics gx) {      super.paintComponent(gx);      if (m_isEnabled) {	//removeAll();	//setLayout(new FlowLayout());	if (m_isNumeric) {	  //System.out.println("numo");	  m_oldWidth = -9000;   //done so that if change back to nom, it will	  //work	  removeAll();	  paintNumeric(gx);	} else {	  if (m_Instances != null) {	    if (m_oldWidth != getWidth()) {	      removeAll();	      m_oldWidth = getWidth();	      paintNominal(gx);	    }	  }	}      }    }