William Ng wrote:Try serialization. If you don't know what that is, do some googling around.
Rob Camick wrote:You can use a Properties files to save/load the data.
You will still need to recreate the GUI and set each component to its respective property.
You don't load your GUI components from XML. Your application controllers load the XML as data models, convert the data models to business models, and then tell the GUI to display the business model.
Stephan van Hulst wrote: In the screenshots you posted, those are 5 tops: Three controls to describe the students, and one listbox per year to select courses.
Dave Tolls wrote:But those 100 GUI elements must represent something.
And that "something" is your model.
Paul Clapham wrote:And just as in normal operation, setting those methods in the model would cause the listeners (the GUI) to be notified of changes