Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

GUI: Child windows (hide behind)  RSS feed

 
Garion Winters
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi again, all.
I was having a minor problem, and wondered if someone could point me the right direction. Basically, within a GUI JFrame I want a button to pop up another dialog box, or what not. Then, I want that box to only be movable within the JFrame... if you move it out, it hides the portion that goes off. I guess this would make it a child window? Well, I am having trouble finding how to do this. Any places I should look, or examples I could see? Thanks again.
 
Deepti Tewari
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Garion,
I think you should have a look at JInternalFrame
class.
regards
Deepti
Originally posted by Garion Winters:
Hi again, all.
I was having a minor problem, and wondered if someone could point me the right direction. Basically, within a GUI JFrame I want a button to pop up another dialog box, or what not. Then, I want that box to only be movable within the JFrame... if you move it out, it hides the portion that goes off. I guess this would make it a child window? Well, I am having trouble finding how to do this. Any places I should look, or examples I could see? Thanks again.
 
Garion Winters
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Will do. Thanks.
Oh, and sorry for first posting in begginer-- thought it still qualified, but also didn't notice we had a forum just for this stuff... should have known. My apologies.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!