1.Netty传输工具

This commit is contained in:
JianGuo 2024-06-14 13:13:23 +08:00
parent 00d1dea5be
commit 1bffe00188
1 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,21 @@
package com.xiaoliu;
import com.formdev.flatlaf.FlatDarculaLaf;
import com.xiaoliu.window.MainWindow;
import lombok.extern.slf4j.Slf4j;
import javax.swing.*;
@Slf4j
public class Main {
public static void main(String[] args ){
log.info("服务启动中...");
try {
UIManager.setLookAndFeel(new FlatDarculaLaf());
} catch (UnsupportedLookAndFeelException e) {
log.error("UnsupportedLookAndFeelException: {}", e.getMessage());
}
SwingUtilities.invokeLater(() -> new MainWindow().setVisible(true));
}
}