jdk/src/share/classes/java/awt/Window.java
changeset 16092 129d7d8a7399
parent 12661 6cf8b7116579
child 16100 379f48d34516
equal deleted inserted replaced
16091:4eb1062acb5b 16092:129d7d8a7399
  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             }