|
@@ -15,6 +15,7 @@ import com.its.cctv.xnettcp.cctv.process.CctvDataProcess;
|
|
|
import com.its.cctv.xnettcp.cctvserver.CctvTcpServerService;
|
|
|
import com.its.cctv.xnettcp.center.CenterTcpServerService;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
+import org.checkerframework.checker.guieffect.qual.UI;
|
|
|
import org.springframework.beans.factory.DisposableBean;
|
|
|
import org.springframework.beans.factory.InitializingBean;
|
|
|
import org.springframework.boot.Banner;
|
|
@@ -100,11 +101,11 @@ public class CctvCommServerApplication implements CommandLineRunner, Application
|
|
|
@Override
|
|
|
public void run(String... args) throws Exception {
|
|
|
if (OS.isWindows()) {
|
|
|
+ String sysTime = SysUtils.getSysTimeStr();
|
|
|
+ //JFrame.setDefaultLookAndFeelDecorated(true);
|
|
|
+ JFrame frame = new JFrame("CCTV 통신 서버 - [" + sysTime + "]");
|
|
|
+ MainUI UI = new MainUI(frame);
|
|
|
SwingUtilities.invokeLater(() -> {
|
|
|
- String sysTime = SysUtils.getSysTimeStr();
|
|
|
- //JFrame.setDefaultLookAndFeelDecorated(true);
|
|
|
- JFrame frame = new JFrame("CCTV 통신 서버 - [" + sysTime + "]");
|
|
|
- MainUI UI = new MainUI(frame);
|
|
|
try {
|
|
|
ClassPathResource file = new ClassPathResource("static/image/application.png");
|
|
|
URL imgURL = file.getURL();
|