• Post Reply Bookmark Topic Watch Topic
  • New Topic

Help in ProgressMonitor

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey all.
I want to use ProgressMonitor class to indicates the progress of some operation.
I use the following constructor :
ProgressMonitor(Component, Object, String, int min, int max)
my question is how can I know the value of max if this value may changed.
for example I have a swing application that connects to a database, assume there is an operation may takes a long time to be finished, how can I know the value of max ?
another example is deploytool of J2EE RI 1.3, while deploying, the tool displayes a progress bar indicates deploying of the ear file, how the deploytool could know the exact time ?
thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!