update flatlaf to 2.2 and added theme "Xcode-Dark","Vuesion"
This commit is contained in:
parent
69f20912d1
commit
d5724409d9
6
pom.xml
6
pom.xml
|
@ -25,9 +25,9 @@
|
|||
<commons-lang3.version>3.12.0</commons-lang3.version>
|
||||
<guava.version>31.0.1-jre</guava.version>
|
||||
<okhttp.version>4.9.3</okhttp.version>
|
||||
<flatlaf.version>2.1</flatlaf.version>
|
||||
<flatlaf-extras.version>2.1</flatlaf-extras.version>
|
||||
<flatlaf-intellij-themes.version>2.1</flatlaf-intellij-themes.version>
|
||||
<flatlaf.version>2.2</flatlaf.version>
|
||||
<flatlaf-extras.version>2.2</flatlaf-extras.version>
|
||||
<flatlaf-intellij-themes.version>2.2</flatlaf-intellij-themes.version>
|
||||
<hutool-all.version>5.7.21</hutool-all.version>
|
||||
<fastjson.version>1.2.79</fastjson.version>
|
||||
<oshi-core.version>6.1.5</oshi-core.version>
|
||||
|
|
|
@ -3,11 +3,12 @@ package com.luoboduner.moo.info.ui;
|
|||
import cn.hutool.core.thread.ThreadUtil;
|
||||
import cn.hutool.log.Log;
|
||||
import cn.hutool.log.LogFactory;
|
||||
import com.formdev.flatlaf.*;
|
||||
import com.formdev.flatlaf.FlatDarculaLaf;
|
||||
import com.formdev.flatlaf.FlatDarkLaf;
|
||||
import com.formdev.flatlaf.FlatIntelliJLaf;
|
||||
import com.formdev.flatlaf.FlatLightLaf;
|
||||
import com.formdev.flatlaf.extras.FlatSVGIcon;
|
||||
import com.formdev.flatlaf.intellijthemes.FlatCyanLightIJTheme;
|
||||
import com.formdev.flatlaf.intellijthemes.FlatDarkPurpleIJTheme;
|
||||
import com.formdev.flatlaf.intellijthemes.FlatLightFlatIJTheme;
|
||||
import com.formdev.flatlaf.intellijthemes.*;
|
||||
import com.luoboduner.moo.info.App;
|
||||
import com.luoboduner.moo.info.ui.component.TopMenuBar;
|
||||
import com.luoboduner.moo.info.ui.form.*;
|
||||
|
@ -111,6 +112,12 @@ public class Init {
|
|||
case "IntelliJ Light":
|
||||
FlatLightFlatIJTheme.setup();
|
||||
break;
|
||||
case "Xcode-Dark":
|
||||
FlatXcodeDarkIJTheme.setup();
|
||||
break;
|
||||
case "Vuesion":
|
||||
FlatVuesionIJTheme.setup();
|
||||
break;
|
||||
|
||||
default:
|
||||
FlatDarculaLaf.setup();
|
||||
|
|
|
@ -53,7 +53,9 @@ public class TopMenuBar extends JMenuBar {
|
|||
"Flat Darcula(Recommended)",
|
||||
"Dark purple",
|
||||
"IntelliJ Cyan",
|
||||
"IntelliJ Light"};
|
||||
"IntelliJ Light",
|
||||
"Xcode-Dark",
|
||||
"Vuesion"};
|
||||
|
||||
private static String[] fontNames = GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames();
|
||||
|
||||
|
|
Loading…
Reference in New Issue