set LAF before showing patch error dialog (IDEA-65793)

This commit is contained in:
Dmitry Jemerov
2011-08-03 19:22:23 +02:00
parent 1392a291d6
commit 175ae1722c
@@ -39,6 +39,10 @@ public class Main {
public static void main(final String[] args) {
if (installPatch()) {
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
}
catch (Exception ignore) { }
JOptionPane.showMessageDialog(null, "The application cannot start right away since some critical files have been changed, " +
"please restart it manually.");
return;