[josm-dev] modal dialog and message box block each other - solution?

Sebastian Klein bastikln at googlemail.com
Thu Feb 25 12:21:30 GMT 2010


Hi,

To the Java experts here:

We have some situations where PleaseWaitRunnable shows a progress dialog 
and another confirmation message box is shown. Then there is a chance 
that both dialogs block each other.

http://josm.openstreetmap.de/ticket/4534
http://josm.openstreetmap.de/ticket/4594

What is the best way to avoid this? Can we use any modal-feature of Java 6?

(Note, this never happens for NMEAImporter where 
JOptionPane.showMessageDialog is used.)

__

Basti




More information about the josm-dev mailing list