|
@@ -12,6 +12,7 @@ import com.its.traf.service.its.UnitSystService;
|
|
|
import com.its.traf.ui.JTextAreaOutputStream;
|
|
|
import com.its.traf.ui.MainUI;
|
|
|
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;
|
|
@@ -81,11 +82,11 @@ public class TrafPrcsServerApplication 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("통합교통정보가공 서버 - [" + sysTime + "]");
|
|
|
+ MainUI UI = new MainUI(frame);
|
|
|
SwingUtilities.invokeLater(() -> {
|
|
|
- String sysTime = SysUtils.getSysTimeStr();
|
|
|
- //JFrame.setDefaultLookAndFeelDecorated(true);
|
|
|
- JFrame frame = new JFrame("통합교통정보가공 서버 - [" + sysTime + "]");
|
|
|
- MainUI UI = new MainUI(frame);
|
|
|
try {
|
|
|
ClassPathResource file = new ClassPathResource("static/image/application.png");
|
|
|
URL imgURL = file.getURL();
|