package org.minimalj.frontend.impl.vaadin;

import org.minimalj.application.Application;
import org.minimalj.frontend.Frontend;
import org.minimalj.frontend.impl.vaadin.toolkit.VaadinFrontend;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class MjVaadinSpringbootApplication {

	public static void main(String... args) {
		Application.initApplication(args);
		Frontend.setInstance(new VaadinFrontend());
		
		SpringApplication.run(MjVaadinSpringbootApplication.class, args);
	}
	
}

@@ -378,21 +378,22 @@
 on %7B%0A%0A%09p
-ublic
+rivate
  static 
@@ -401,67 +401,17 @@
 oid 
-main(String... args) %7B%0A%09%09Application.initApplication(args);
+start() %7B
 %0A%09%09F
@@ -457,11 +457,8 @@
 ));%0A
-%09%09%0A
 %09%09Sp
@@ -516,14 +516,213 @@
 lass
-, args
+);%0A%09%7D%0A%09%0A%09public static void start(Application application) %7B%0A%09%09Application.setInstance(application);%0A%09%09start();%0A%09%7D%0A%09%0A%09public static void main(String... args) %7B%0A%09%09Application.initApplication(args);%0A%09%09start(
 );%0A%09

make it look like other start classes