R
Royan
In my app I have two methods load() and parse() that handle
correspondingly reading from file operation and parsing that file into
my internal data structure. load() method makes use of SwingWorker
class and therefore once I enter SwingWorker#done() i must somehow
call parse() method. I can not do it from SwingWorker#done() directly
because this is logically wrong to call parse form load
So can you give me some advice on what is best way to call parse()?
correspondingly reading from file operation and parsing that file into
my internal data structure. load() method makes use of SwingWorker
class and therefore once I enter SwingWorker#done() i must somehow
call parse() method. I can not do it from SwingWorker#done() directly
because this is logically wrong to call parse form load
So can you give me some advice on what is best way to call parse()?