title: isGUIInitialized() is false, now what?
body: <p>I been looking at some code and I find people doing </p>
  
  <pre><code> public static void main(String[] args) {
       new ExampleCode();
        }
   ExampleCode () {
        EventQueue.invokeLater(this);
      }
  
      public void run() {
          if (EventQueueMonitor.isGUIInitialized()) {
            guiInitialized();
          } else {
            EventQueueMonitor.addGUIInitializedListener(this);
          }
    }
  </code></pre>
  
  <p>Which makes sense, but now my question is how they keep the code running. To my understanding the code goes to main--->ExampleCode--->Run and then it stops because GUI was not initialized. Does any of the calls start the GUI else where? I use the same steps on my program, but my GUI is not initialized.</p>
  
  <p>Two of my example codes:</p>
  
  <p><a href="http://java.sun.com/javase/technologies/accessibility/docs/jaccess-1.1/examples/Explorer/Explorer.java" rel="nofollow">http://java.sun.com/javase/technologies/accessibility/docs/jaccess-1.1/examples/Explorer/Explorer.java</a></p>
  
  <p><a href="http://www.java2s.com/Code/Java/Swing-JFC/AGUItoshowaccessibleinformationcomingfromthecomponentsinan.htm" rel="nofollow">http://www.java2s.com/Code/Java/Swing-JFC/AGUItoshowaccessibleinformationcomingfromthecomponentsinan.htm</a></p>