Saving the State!
Hi Guys
Need a bit of help in designing a framework to save and subsequently restore the state of an object in a relational database.
To elaborate, the object is a JButton. It's property of interest are background color, label and whether or not it is enabled. I have created a bean to represent the aforementioned attributes but I can't figure out how to represent the action associated with the button click and the recipient of the action.
I think I should use the command pattern to separate the action from the recipient. What do you guys think. It would be fantastic if someonce can share his/her insights.
Cheers
Vic

