posted 15 years ago
I'm not sure how to adequately state my problem, but... The initial window allows a user to setup the options, select values from lists and then perform a login. After traversing to succeeding frames relating to the application, the user may wish to start all over. This means tearing down a session, establishing new options and selections. I used setVisible() method in Navigating through these JFrames, including the home JFrame. But if the user chooses to go back to the home page, I want to re-enter it as though it were the first time with all buttons unselected, lists cleared and connections closed. What is the best way of doing this?