I am using HSSF eventmodel to read spreadsheets in a Swing GUI app. I have permitted the user to select multiple spreadsheets to read from a FileChooser dialog. For each spreadsheet I create a separate InternalFrame object and in that object I invoke the HSSF eventmodel to read the spreadsheet associated with the frame. Within my code all of the objects associated with the frame are unique to the frame. I am encountering random exceptions when I attempt to process more than one spreadsheet at a time. The exceptions I have looked at seem to say that the data read from the spreadsheet has been corrupted before it is examined by the decode logic.
In sumary for each spreadsheet selected by the user I create an object which allocates the frame, and sets up the HSSF eventmodel objects. I then invoke the factory on a separate thread which dispatches the records back to the Swing thread by means of SwingUtilities.invokeLater(). So the factories are running on multiple threads, but each has its own objects so that should not matter. Jim Cobban [EMAIL PROTECTED] 34 Palomino Dr. Kanata, ON, CANADA K2M 1M1 +1-613-592-9438
