title: How to transition from JFrame to another JFrame after a button click?
body: <p>I am making a GUI for a game, and I have a splash screen which I created using <code>JFrame</code>. I have a button which says play and what I want after that to happen is when I press play, I want to switch to another <code>JFrame</code>, which is going to have different stuff in it. However, I do not want the window to close and open another one, I want it to just switch from one frame to another frame. </p>
  
  <p>I have no experience on GUI, if you have any information that would help it would be greatly appreciated.</p>