Forums Register Login
How to re-initialize wnen going back home
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?
It is difficult to free fools from the chains they revere - Voltaire. tiny ad:
Rocket Oven Kickstarter - from the trailboss

This thread has been viewed 534 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jul 16, 2018 01:00:34.