title: Java JFrame Window not appearing when run from Eclipse
body: <p>A very simple problem.  I try to run a very simple demo to created and display a Window Frame from Eclipse, and nothing happens. No errors, no window, the code runs to completion.</p>
  
  <p>I added breakpoints and made sure the code runs as expected.  The code is straight from Java tutorials (FrameDemo), I just renamed the package to fit where I placed it (other code from this package runs fine):</p>
  
  <pre><code>package ui;
  
  import java.awt.*;
  import javax.swing.*;
  
  /* FrameDemo.java requires no other files. */
  public class FrameDemo {
      /**
       * Create the GUI and show it.  For thread safety,
       * this method should be invoked from the
       * event-dispatching thread.
       */
      private static void createAndShowGUI() {
          //Create and set up the window.
          JFrame frame = new JFrame("FrameDemo");
          frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  
          JLabel emptyLabel = new JLabel("");
          emptyLabel.setPreferredSize(new Dimension(175, 100));
          frame.getContentPane().add(emptyLabel, BorderLayout.CENTER);
  
          //Display the window.
          frame.pack();
          frame.setVisible(true);
      }
  
      public static void main(String[] args) {
          //Schedule a job for the event-dispatching thread:
          //creating and showing this application's GUI.
          javax.swing.SwingUtilities.invokeLater(new Runnable() {
              public void run() {
                  createAndShowGUI();
              }
          });
      }
  }
  </code></pre>
  
  <p>My setup (Kepler SR2):</p>
  
  <ul>
  <li>eclipse.buildId=4.3.2.M20140221-1700</li>
  <li>java.version=1.8.0_05</li>
  <li>java.vendor=Oracle Corporation</li>
  <li>BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US</li>
  <li>Framework arguments: -product org.eclipse.epp.package.java.product -keyring /Users/steve/.eclipse_keyring -showlocation</li>
  <li>Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.java.product -keyring /Users/steve/.eclipse_keyring -showlocation</li>
  </ul>
  
  <p>I also checked Configuration -> error logs; still nothing, no errors.  I tried other similar demos, same results.</p>
  
  <p>Any help would be appreciated as I have been stuck on this for over a day.</p>