private void createAndShowGUI(final GraphSet graphs, LineMapper lineMapper) {
    // Create and set up the window.

    frame = new JFrame("SequenceDiagram");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

    createMenu();
    createSequenceDiagram(graphs, lineMapper);
    createSequenceMaps(graphs);

    createSelectGraphDialog(graphs);

    // for (GraphID id : graphs.getMap().keySet()) {
    // showSubDiagram(id);
    //
    // }

    sequencePanel = new SequencePanel(sequenceDiagram);
    frame.getContentPane().add(sequencePanel);
    // Display the window.
    frame.pack();
    frame.setVisible(true);
    showGraphSelector();
  }
Create the GUI and show it. For thread safety, this method should be invoked from the
event-dispatching thread.
geode-core/src/test/java/org/apache/geode/sequence/GemfireSequenceDisplay.java