This week's book giveaway is in the Beginning Java forum.
We're giving away four copies of Murach's Java Programming and have Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Progress bar setProgress do not update Progress  RSS feed

 
Hardik Trivedi
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,

I want to download a file from server and while downloading I want to show progress bar to display downloading pogress. I thought this is pretty much simple. But I am facing strange problem. Progress bar's setProgress method do not show the updated view of progress.

Below is my xml file


Below is my java code...



ANd on click of a button I am starting the downloading...



It download's the file. But do not update the progress. Please Help...

 
Without deviation from the norm, progress is not possible - Zappa. Tiny ad:
Thoughts on deprecation in Java
https://coderanch.com/t/683016/java/Deprecation-Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!