1
0
mirror of https://github.com/mitb-archive/filebot synced 2025-03-09 22:09:47 -04:00

setDarculaLookAndFeel

This commit is contained in:
Reinhard Pointner 2019-02-24 14:36:52 +07:00
parent 6856275a42
commit a8af9ad372

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() { public static void setSystemLookAndFeel() {
try { try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());