Thread: listening...
View Single Post
Old 10-10-2002, 11:19 PM   #1 (permalink)
abc123
bloomberg
 
abc123's Avatar
 
Join Date: Jun 2002
Location: bloomberg
Posts: 263
abc123 is on a distinguished road
Send a message via AIM to abc123 Send a message via Yahoo to abc123
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.
abc123 is offline   Reply With Quote