I have a socket connected client and server. I tried to implement progressMonitorInputStream() to server, the data is transferred perfectly but the Progress Monitor is not visible. I tried implementing it for reading from a file only one side, there the progress monitor works fine. Below are both codes
The above code is the problematic one. The working code is below:
Proper working code with File Input Stream on one side
I am not able to figure out why Progress Monitor is displayed in FileInputStream Program but not on socket program.I get no exceptions or errors just the progress monitor isn't displayed. Any ideas?
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
--- Martin Fowler