Within a JFrame, I would like to create a button that opens up another JFrame. When window two opens, I would like a button to return to the original window. Is there a way to do this in Java? If there is, can you provide some quick sample code? I have always learned best when I can look at sample code.