title: Hide a JFrame and run an other class in the background?
body: <p>Is it possible to hide my <code>JFrame</code> window and start an main method from another class in an action like this?</p>
  
  <p>Here the code of the action:</p>
  
  <pre class="lang-java prettyprint-override"><code>private AbstractAction start = new AbstractAction("start") {
  
         @Override
         public void actionPerformed(ActionEvent arg0) {
  
  
         }
  };
  </code></pre>