Commit f8e29933 authored by 刘家荣's avatar 刘家荣 💬
Browse files

feat(flatlaf): import flatlaf

parent 197b0f0c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -11,5 +11,6 @@
    <orderEntry type="sourceFolder" forTests="false" />
    <orderEntry type="library" name="alibaba.fastjson2" level="project" />
    <orderEntry type="library" name="io.vavr" level="project" />
    <orderEntry type="library" name="formdev.flatlaf" level="project" />
  </component>
</module>
 No newline at end of file
+1.76 MiB

File added.

No diff preview for this file type.

+512 KiB

File added.

No diff preview for this file type.

lib/flatlaf-3.1.1.jar

0 → 100644
+772 KiB

File added.

No diff preview for this file type.

+3 −1
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@ package controller;
import com.alibaba.fastjson2.JSON;
import com.alibaba.fastjson2.JSONException;
import com.alibaba.fastjson2.JSONObject;
import com.formdev.flatlaf.FlatLightLaf;
import model.History;
import model.Room;
import model.dataType.GameType;
@@ -183,6 +184,7 @@ public class AppController {
	}

	public static void main(String[] args) {

		try {
			read(savePath);
		} catch (IOException | JSONException e) {
@@ -192,7 +194,7 @@ public class AppController {
		}

		try {

			FlatLightLaf.setup();
			while (true) {
				// AppFrame
				CompletableFuture<FrameReturnType<AppFrame>> appFuture = new CompletableFuture<>();