private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
  stream.defaultReadObject();
  this.listenerList=new EventListenerList();
  stream.registerValidation(this,10);
}

private void readObject ( ObjectInputStream stream ) throws IOException , ClassNotFoundException { stream . defaultReadObject ( ) ; this . listenerList = new EventListenerList ( ) ; stream . registerValidation ( this , 10 ) ; }
restores a serialized object .
