Commit 0432ad5d by Nepxion

修改界面

parent bd49b2ab
...@@ -29,7 +29,9 @@ public class UIContext { ...@@ -29,7 +29,9 @@ public class UIContext {
public static void initialize() { public static void initialize() {
FontContext.registerFont(getFontName(), Font.PLAIN, getDefaultFontSize()); FontContext.registerFont(getFontName(), Font.PLAIN, getDefaultFontSize());
LookAndFeelManager.setNimbusLookAndFeel(); if (System.getProperty("os.name").toLowerCase().contains("windows")) {
LookAndFeelManager.setNimbusLookAndFeel();
}
} }
public static String getFontName() { public static String getFontName() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment