public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("classpath:beans.xml");
        MainWindowView mainWindowView = (MainWindowView) context.getBean("mainWindowView");

        mainWindowView.display();
    }