| listening... I want to monitor the state of some of my objects' fields' for change, and when it does change I want to do something, so instead of constantly checking if it had changed with if statements, etc, I thought it would be a good idea to add a propertyChangeListener() (or any other appropriate listener) to it... now, this object isn't related to graphics in anyway, its just an object so i don't know how to do it..
any ideas? hints on where to start?
__________________ -- bloomberg. |