Platform: patch updater fixed on Mac - UI hung due to out-ot-AWT LaF installation

This commit is contained in:
Anton Makeev
2013-10-03 13:01:11 +02:00
parent 93021c72fc
commit 2f241d3f06
+10 -5
View File
@@ -146,11 +146,16 @@ public class Runner {
in.close();
}
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
}
catch (Exception ignore) {
}
SwingUtilities.invokeAndWait(new Runnable() {
@Override
public void run() {
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
}
catch (Exception ignore) {
}
}
});
new SwingUpdaterUI(props.getProperty(OLD_BUILD_DESCRIPTION),
props.getProperty(NEW_BUILD_DESCRIPTION),