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