This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Help in ProgressMonitor  RSS feed

 
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!