wood burning stoves 2.0
The moose likes Android and the fly likes Issues with Progress Bar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Issues with Progress Bar" Watch "Issues with Progress Bar" New topic

Issues with Progress Bar

Jean John

Joined: Dec 21, 2010
Posts: 24

Hi All,
I am trying to implement a scenario where i have a progress bar.start button and a refresh button. When I click the start Button, the progress bar starts from zero and proceeds till max size. At this point of time, the progress bar has a dark background and a yellow progress indicator moving from start to end. Once the progress bar reaches it's max size, the entire progress bar turns green. Now I need to click on the refresh button and restart the whole process(a dark background and a yellow progress indicator moving from start to end and a green progress bar in the end).

I use the following code to achieve a green colour at the end:

The problem I am facing is that once I set the color to green, the green color stays on the entire width of the progress bar and my progress indicator doesn't work anymore.
Please help. I am at my wits end


I agree. Here's the link: http://aspose.com/file-tools
subject: Issues with Progress Bar
It's not a secret anymore!