title: How can I travese to a next / previous page in a swing GUI
body: <p>I am new to Swing. I am trying to develop an application using Swing. I have managed to create the first page of my application. Now what I want to do is to traverse to a new page, using the next  button. But am not able to find a way to do it using Swing. Also, if I click the previous button, would I be able to get the data that I had entered in the text boxes or selected using radio buttons on the previous page. I think this can be done pretty easily in Struts, but how is this to be achieved using Swing. </p>
  
  <p>Please do help.</p>
  
  <p>Thanks a lot.</p>