Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ProgressMonitor question

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