setDarculaLookAndFeel

This commit is contained in:
Reinhard Pointner 2019-02-24 14:36:52 +07:00
parent 6856275a42
commit a8af9ad372
1 changed files with 8 additions and 0 deletions

View File

@ -75,6 +75,14 @@ public final class SwingUI {
}
}
public static void setDarculaLookAndFeel() {
try {
UIManager.setLookAndFeel("com.bulenkov.darcula.DarculaLaf");
} catch (Exception e) {
log.log(Level.SEVERE, "Failed to set Nimbus LaF", e);
}
}
public static void setSystemLookAndFeel() {
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());