Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Needing help with Swing

Status
Not open for further replies.

VikWrestler215

Programmer
May 16, 2005
1
US
I creating a program that uses JIternalFrames, Im working on building a login/logout system for my program. I did this by using a while loop that would repeat until they gain access to the rest of the program (since I dont know how to use threads to pause a program). Everything works great the first time through... but if i logout and then try to relogin in, my Login internal frame wont reappear.
note: when i am finished logging in... i simply set the visiblity to false for the Login internal frame then when relogging in the set the visiblity to true again.
 
Firstly, if logging out then back in again isn't going to happen all that often, it might be better to dispose of the login JInternalFrame to allow the JVM to recover the resources it is using. Just a thought.

As for your problem, perhaps if you post the relevent bits of code you're using to hide / re-display the JInternalFrame. Otherwise we're gonna get into a guessing game taking many, many questions / replies / attempts.

Tim
---------------------------
"Your morbid fear of losing,
destroys the lives you're using." - Ozzy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top