Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package ca.grimoire.mainspring;
 
Bootstraps a Spring context XML file on the Swing EDT. The actual work of bootstrapping the application is handled by Bootstrap; this class's main(java.lang.String[]) schedules the bootstrap onto the Swing EDT.

Like Bootstrap, this class can be specified as the Main-Class of a JAR file.

See also:
Bootstrap
public class Swingstrap {
Runs the bootstrap process on the Swing EDT. For details about command-line parameters, see Bootstrap.main(java.lang.String[]).

Parameters:
args the names of the contexts to load. If empty or null, the default context will be loaded instead.
See also:
Bootstrap.main(java.lang.String[])
	public static void main(final String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				Bootstrap.main(args);
			}
		});
	}
New to GrepCode? Check out our FAQ X