Ignore:
Timestamp:
2011-03-08T13:11:00+01:00 (14 years ago)
Author:
hampelratte
Message:

Ticket #6077

use invokeLater instead of invokeAndWait, so that updateData can be called from the awt event thread, too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbPlugin.java

    r25518 r25540  
    163163        // disable the dialog
    164164        try {
    165             SwingUtilities.invokeAndWait(new Runnable() {
     165            SwingUtilities.invokeLater(new Runnable() {
    166166                public void run() {
    167167                    dialog.setEnabled(false);
     
    219219        // enable the dialog
    220220        try {
    221             SwingUtilities.invokeAndWait(new Runnable() {
     221            SwingUtilities.invokeLater(new Runnable() {
    222222                public void run() {
    223223                    dialog.setEnabled(true);
Note: See TracChangeset for help on using the changeset viewer.