equal
deleted
inserted
replaced
1204 if (EventQueue.isDispatchThread()) { |
1204 if (EventQueue.isDispatchThread()) { |
1205 action.run(); |
1205 action.run(); |
1206 } |
1206 } |
1207 else { |
1207 else { |
1208 try { |
1208 try { |
1209 EventQueue.invokeAndWait(action); |
1209 EventQueue.invokeAndWait(this, action); |
1210 } |
1210 } |
1211 catch (InterruptedException e) { |
1211 catch (InterruptedException e) { |
1212 System.err.println("Disposal was interrupted:"); |
1212 System.err.println("Disposal was interrupted:"); |
1213 e.printStackTrace(); |
1213 e.printStackTrace(); |
1214 } |
1214 } |