listeners = sesConfig.getSessionConfigListeners();  e = listeners.elements();  while (e.hasMoreElements()) { sa.removePropertyChangeListener((Session)e.nextElement()); }
   private void doAttributes() {      Frame parent = null;      // if me is null then we must be called from an applet so we create      //   a new frame object.      if (me == null)         parent = new JFrame();      else         parent = (Frame)me.getParentView((Session)this);      SessionAttributes sa = new SessionAttributes(parent,sesConfig);      Vector listeners = sesConfig.getSessionConfigListeners();      Enumeration e = listeners.elements();      while (e.hasMoreElements()) {         sa.addPropertyChangeListener((Session)e.nextElement());      }      sa.showIt();      listeners = sesConfig.getSessionConfigListeners();      e = listeners.elements();      while (e.hasMoreElements()) {         sa.removePropertyChangeListener((Session)e.nextElement());      }      getFocusForMe();      sa = null;   }