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);
    }
 
}