streaming.Main2.java Source code

Java tutorial

Introduction

Here is the source code for streaming.Main2.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 streaming;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;
import streaming.swing.JFramePrincipale;

/**
 *
 * @author admin
 */
public class Main2 {

    public static void main(String[] args) {
        ApplicationContext context = new FileSystemXmlApplicationContext(
                "file:/C:\\Users\\admin\\Documents\\Streaming\\application-context.xml");
        context.getBean(JFramePrincipale.class).setVisible(true);

    }

}