Sunday, December 8, 2002 09:50 PM
The scenario is that I have a swing frontend which listens to messages from the servlet. What I need to do is to display the data in the swing frontend as and when the data changes. I had seen a posting in some site suggesting setting up a data model which will hold the data. This model could fire events to indicate the changes occuring. All the gui screens would register as listeners to this data model and update themselves as and when the changes take place.
In my swing frontend, I have 3 JTable and one JTree. I want all the data to be updated.
Can someone throw some light on this issue and show examples on how to:
(1) create a data model
(2) fire events to indicate changes
(3) register the screens to the data model
Any help would be highly appreciable.
Re: Customized Data model help needed
Sunday, December 8, 2002 11:15 PM