How to monitor a writeObject() method to send its progress to a JProgressBar
Posted on 2004-08-13
The thing is I have to write an object to a stream, but the size of the object can go up to 5 mb so I would like to give some feedback to the user.
I have a JProgressBar but don't know how to figure out the progress made by the writeObject() method.
I don't know if this is possible... Maybe using Threads?