This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Frame within Frame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Frame within Frame" Watch "Frame within Frame" New topic

Frame within Frame

Angela Jessi
Ranch Hand

Joined: Nov 27, 2000
Posts: 428
I have four frames. One is Main frame in which I want include three frames?
How can I do it?
Manfred Leonhardt
Ranch Hand

Joined: Jan 09, 2001
Posts: 1492
Hi Angela,
You need to make three of the frames JInternalFrames. An AWT Frame cannot be placed into another frame because frames are heavyweight and include window decorations.
I agree. Here's the link:
subject: Frame within Frame
It's not a secret anymore!