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