Commit 0432ad5d by Nepxion

修改界面

parent bd49b2ab
......@@ -29,8 +29,10 @@ public class UIContext {
public static void initialize() {
FontContext.registerFont(getFontName(), Font.PLAIN, getDefaultFontSize());
if (System.getProperty("os.name").toLowerCase().contains("windows")) {
LookAndFeelManager.setNimbusLookAndFeel();
}
}
public static String getFontName() {
if (LocaleContext.getLocale() == LocaleContext.LOCALE_ZH_CN) {
......
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