cz.moz.java.contactmanager.Application.java Source code

Java tutorial

Introduction

Here is the source code for cz.moz.java.contactmanager.Application.java

Source

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package cz.moz.java.contactmanager;

import javax.swing.JFrame;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 *
 * @author Michal
 */
public class Application {

    public static void main(String args[]) {
        ApplicationContext appContX = new ClassPathXmlApplicationContext("spring/applicationContext.xml");
        JFrame appFrame = appContX.getBean(AppFrame.class);
        appFrame.setVisible(true);
    }
}