Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Frame dispose()

 
Vanitha Sugumaran
Ranch Hand
Posts: 356
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have three different frames, I want to show the frame1 first, get the information from the user, if the information is correct, dispose the frame1 and show the frame2, get the information, then dispose frame2 and show the frame3.
I tried with dispose(), but the frame1 is still running, and the 2nd frame is not showing up.
can anyone give any suggestions?
Thanks,
Vanitha
 
Matt Senecal
Ranch Hand
Posts: 255
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can you post some code so we can see what's going on?
Originally posted by Vanitha Sugumaran:
Hi,
I have three different frames, I want to show the frame1 first, get the information from the user, if the information is correct, dispose the frame1 and show the frame2, get the information, then dispose frame2 and show the frame3.
I tried with dispose(), but the frame1 is still running, and the 2nd frame is not showing up.
can anyone give any suggestions?
Thanks,
Vanitha

 
devara
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai vanitha,
Instead of going for frames why wont you try with Dialog Boxes which is meant for accepting user input.
Originally posted by Vanitha Sugumaran:
Hi,
I have three different frames, I want to show the frame1 first, get the information from the user, if the information is correct, dispose the frame1 and show the frame2, get the information, then dispose frame2 and show the frame3.
I tried with dispose(), but the frame1 is still running, and the 2nd frame is not showing up.
can anyone give any suggestions?
Thanks,
Vanitha

 
Bill Prentice
Greenhorn
Posts: 26
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are you using as a parent frame?. What are the 3 frames based on?. This sounds like a lightweight/heavyweight issue.
 
Vanitha Sugumaran
Ranch Hand
Posts: 356
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Thanks for all the replies. I am using the dialog boxes and solved the problem.
Vanitha
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic