mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
set LAF before showing patch error dialog (IDEA-65793)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user