Created
April 18, 2012 17:32
-
-
Save eiennohito/2415296 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.eiennohito.ui; | |
import org.springframework.context.support.AbstractApplicationContext; | |
import org.springframework.context.support.ClassPathXmlApplicationContext; | |
import javax.swing.*; | |
/** | |
* @author eiennohito | |
* @date 25.02.2008 | |
*/ | |
public class Application { | |
public static void main(String[] params ) { | |
try { | |
UIManager.setLookAndFeel( | |
UIManager.getSystemLookAndFeelClassName()); | |
} catch (Exception e) { | |
} | |
AbstractApplicationContext context = new ClassPathXmlApplicationContext( | |
new String[] {"classpath:org/eiennohito/cg-lib.xml", "classpath:org/eiennohito/cg-gui.xml"}); | |
context.registerShutdownHook(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment