Ok. I have a JFrame or JDialog, whatever. On it are 3 textboxes. When the object is closed I want to return a string array containing the data in each of the 3 textboxes.
How can I do this? When I start a new JFrame/JDialog box the process will halt untill the object is closed, by which time all data structures contained within the object no longer exist. So a Object.getValues() type operation would fail!