mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-06 23:37:26 +00:00
faster renaming identifiers (invokeandwait => invokelater)
This commit is contained in:
@@ -287,11 +287,10 @@ public class Main {
|
||||
if (mainFrame != null) {
|
||||
mainFrame.setVisible(true);
|
||||
}
|
||||
Main.stopWork();
|
||||
}
|
||||
});
|
||||
|
||||
Main.stopWork();
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -218,11 +218,7 @@ public class View {
|
||||
if (SwingUtilities.isEventDispatchThread()) {
|
||||
r.run();
|
||||
} else {
|
||||
try {
|
||||
SwingUtilities.invokeAndWait(r);
|
||||
} catch (InterruptedException | InvocationTargetException ex) {
|
||||
Logger.getLogger(View.class.getName()).log(Level.SEVERE, null, ex);
|
||||
}
|
||||
SwingUtilities.invokeLater(r);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user