[josm-dev] Progress monitor not being closed
Paul Hartmann
phaaurlt at googlemail.com
Tue Apr 15 12:18:43 UTC 2014
On 14.04.2014 21:10, Toby Murray wrote:
> I'm working on the notes plugin some more and have run into a problem with
> ProgressMonitor. I am able to make a PleaseWaitProgressMonitor pop up on
> the screen and even update the text being shown to the user. But when I
> call finishTask the dialog does not close.
> Any tips as to what could be going on here?
Apparently, finishTask() doesn't do much in PleaseWaitProgressMonitor.
You can call close() to make the dialog disappear.
PleaseWaitProgressMonitor is actually a helper class for
PleaseWaitRunnable; in most cases you it is better to use
PleaseWaitRunnable directly.
Paul
More information about the josm-dev
mailing list