floater
Java Jedi
总版主
发贴: 3233
积分: 421
|
于 2002-12-09 22:28
No, it's not about the time it's using. Actually, the progressbar could be in a non determined state, like getting a web page(we really don't know how long it takes).
I run across something else yesterday and bumped into this Timer, so just posted a short one as a way to fire off a task. Sorry for the confusion, my intention was to get an extra way to do this.
Again, there is always a tradeoff no matter which way to go. For instance, if we don't care the synchronization, or we just want to sync a block of code, then we could use "loose" ways. However, there is a bottom line somewhere, namely, we have to know exactly what we are doing. I agree wholeheartedly with you on the safe side.
BTW, I generated a pdf file from foxtrot yesterday and will post here later for sharing. That's the tool so far I've seen as the safest tool.
One more question, foxtrot claims they came up this from swing dialog model, have you dived into their source to see how they did? I am just curious(because I wonder what price we pay for this feature).
|