Hello,
I have a JProgress bar and I want to set increase it's value as it goes through a while loop.
Something like this...
All events are delayed until the while loop completes. How do I force the progress bar to update?
Thanks,
Ron
typedef map<GiantX,gold, less<std::shortestpathtogold> > AwesomeMap;
I have a JProgress bar and I want to set increase it's value as it goes through a while loop.
Something like this...
Code:
[blue]
entry = getNextBlahEntry();
while(entry!=null)
{
CurrentCount++;
myProgressBar.setValue(CurrentCount);
[green]//Do some other stuff [/green]
}
[/blue]
All events are delayed until the while loop completes. How do I force the progress bar to update?
Thanks,
Ron
typedef map<GiantX,gold, less<std::shortestpathtogold> > AwesomeMap;