title: Why is my JFrame not showing?
body: <p>I'm pretty sure I've done it this way before, but for some reason, the JFrame won't show up when I run it.</p>
  
  <pre><code>    JLabel originalString =  new JLabel("Original String: " 
                                          + str.getMutator());
      JLabel currentString = new JLabel("Current String: " 
                                        + str.getMutator());
      JLabel finalString =  new JLabel("Final String: " + str.getTarget());
  
      JPanel panel = new JPanel();
      panel.add(originalString);
      panel.add(currentString);
      panel.add(finalString);
  
      JFrame frame = new JFrame("Mutating String!");
      frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
      frame.getContentPane().add(panel);
      frame.pack();
      frame.setVisible(true);
  }
  </code></pre>