潘志宝
7 天以前 161f558d30e64d40fe7552da16b4141859aa467e
提交 | 用户 | 时间
a6de49 1 package com.iailab;
H 2
3 import org.springframework.boot.SpringApplication;
4 import org.springframework.boot.autoconfigure.SpringBootApplication;
149dd0 5 import org.springframework.scheduling.annotation.EnableAsync;
H 6
7 import javax.swing.*;
a6de49 8
H 9 @SpringBootApplication
149dd0 10 @EnableAsync
a6de49 11 public class DataWebApplication {
H 12
13
14     public static void main(String[] args) {
149dd0 15
H 16         SwingUtilities.invokeLater(new Runnable() {
17             @Override
18             public void run() {
19                 System.setProperty("java.awt.im.style", "on-the-spot");
20             }
21         });
22
a6de49 23          SpringApplication.run(DataWebApplication.class, args);
H 24     }
25
26 }