code: public void showInFrame(final String title,
                              final boolean exitOnClose)
      {        
          SwingUtilities.invokeLater(new Runnable()
          {
              public void run()
              {
                  JFrame frame = new JFrame(title);
                  frame.setDefaultCloseOperation(exitOnClose ? JFrame.EXIT_ON_CLOSE : JFrame.DISPOSE_ON_CLOSE);
                  showWindow(frame);
              }
          });
      }
docs: Displays the evolution monitor component in a new {@link JFrame}.  There is no
  need to make sure this method is invoked from the Event Dispatch Thread, the
  method itself ensures that the window is created and displayed from the EDT.
  @param title The title for the new frame.
  @param exitOnClose Whether the JVM should exit when the frame is closed.  Useful
  if this is the only application window.