title: JFrame changing screens
body: <p>I'm wondering how to change screens in a JFrame. For example, changing from the starting screen to a different screen. So you have an assortment of buttons, labels, trees, etc on one screen, as the user clicks a button a different layout appears.</p>
  
  <p>Would the 'setVisible(false) and setVisible(true)' do the trick?</p>