How to check the Progress of Java read/write serilization and display it in a JProgressBar
? The tasks that need to be done are these:
- Check how many bytes have been read/written, and get a percentage done by dividing this by the total bytes that need to be read/written.
- Putting this value in a progress bar and then repaint the JFrame to update the background and display the JProgressBar
Another problem could be how to do this for either reading or writing, as they are both very different. If it cannot be done for writing that is fine, but monitoring the reading is a priority.