title: Java UI, trying to go to next page upon clicking button
body: <p>I have a simple GUI with 3 radio buttons and a button.  I want the user to select a radio option, then upon clicking the button the user will be directed to a different Java UI depending upon which radio button they selected.  Here is my method:</p>
  
  <pre><code> private void btnContinueActionPerformed(java.awt.event.ActionEvent evt)
   {
        if(rbCSV.isSelected())
        {
  
        }
        else if(rbExcel.isSelected())
        {
  
        }
        else if(rbDatabase.isSelected())
        {
  
        }
        else
        {
  
        }
   }
  </code></pre>
  
  <p>I am new to Java Swing, and not sure of the syntax that will allow me to direct the user to the next page.  Sort of like a Wizard, I guess.  Any help would be awesome!  Thanks!</p>