Fixed the issue f=with JProgressBar while recieving