I think Michael Knapik wrote:

> Jess reported an error in routine DefinstanceList.definstance
>  while executing (definstance dimmer ?ds).
>   Message: Obj doesn't accept PropertyChangeListeners.
>   Program text: ( definstance dimmer ?ds )  at line 213.
> Nested exception is:
> DimmerSwitchDynamic.addPropertyChangeListener(java.beans.PropertyChangeListener)
> java.lang.NoSuchMethodException: 
> DimmerSwitchDynamic.addPropertyChangeListener(java.beans.PropertyChangeListener)


Perhaps a typo, if you entered the code yourself; you could try using
the part2/DimmerSwitchDynamic.java that comes with the sample code
drop for the book.


---------------------------------------------------------
Ernest Friedman-Hill  
Science and Engineering PSEs        Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
PO Box 969, MS 9012                 [EMAIL PROTECTED]
Livermore, CA 94550         http://herzberg.ca.sandia.gov


Reply via email to