title: How to open another class containing a frame from the main class
body: <p>I have a small window which only contains a label and 2 buttons in the first class and a second which contains the gui in another class. how can I close the small window and start the gui after i made my choice? I tried to just run the main method from the gui but I don't really know what to fill in for String args[]...</p>
  
  <pre><code>gui.main(??);
  </code></pre>