• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

GUI: Child windows (hide behind)  RSS feed

 
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.
 
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.
 
I'm full of tinier men! And a tiny ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!