public void onCommandsCreated(ApplicationWindow window) {
   ActionCommand command = window.getCommandManager().getActionCommand("loadCommand");
   command.execute();
   super.onCommandsCreated(window);
 }
 /*
  * (non-Javadoc)
  *
  * @see org.springframework.richclient.application.config.ApplicationLifecycleAdvisor#onWindowOpened(org.springframework.richclient.application.ApplicationWindow)
  */
 public void onWindowOpened(ApplicationWindow window) {
   window.getControl().toFront();
   super.onWindowOpened(window);
 }