Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ProgressMonitor question  RSS feed

ashish kulkarni
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
suppose i have method long method in applet and i need to use progress monitor how can i do it,
i tried the code from
but it only works in example not in my case, what i did was in the ActualTask class in LongTask i commented the original code and added this code
ArrayList aa = new ArrayList();
for(int i = 0; i < 900000; i++)
current = lengthOfTask;
but the dont get the progree monitor
so if i have some code like above how can i do it
can any one provide a class doing a long task and how they get the progress monitor
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!