package devopsdistilled.operp.client;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

import devopsdistilled.operp.client.context.AppContext;
import devopsdistilled.operp.client.main.MainWindow;

public class ClientApp {

	private static ApplicationContext context;

	public static ApplicationContext getApplicationContext() {
		return context;
	}

	public static void main(String[] args) {
		context = new AnnotationConfigApplicationContext(AppContext.class);

		MainWindow window = context.getBean(MainWindow.class);
		window.init();

		System.out.println(context);
	}
}

@@ -310,135 +310,8 @@
  %7B%0A%0A
-%09private static ApplicationContext context;%0A%0A%09public static ApplicationContext getApplicationContext() %7B%0A%09%09return context;%0A%09%7D%0A%0A
 %09pub
@@ -350,16 +350,35 @@
 gs) %7B%0A%09%09
+ApplicationContext 
 context 
@@ -418,16 +418,21 @@
 Context(
+%0A%09%09%09%09
 AppConte

Remove getApplicationContext()