Skip to content

Instantly share code, notes, and snippets.

@eiennohito
Created April 18, 2012 17:32
Show Gist options
  • Save eiennohito/2415296 to your computer and use it in GitHub Desktop.
Save eiennohito/2415296 to your computer and use it in GitHub Desktop.
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