Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Can we add JInternalFrame to JPanel?

843806Feb 18 2008 — edited Feb 18 2008
Hi,
I am very new to Swings.
I have a requirement that JPanel should work as a JInternalFrame.

For that I thought that if we able to add JInternalFrame to the JPanel, problem will be solved.

I will add my fields to the JInternalFrame like JTextField, JButton, JTextArea, etc. And then this JInternalFrame will be added to the JPanel. Then finally this JPanel will be added to the JFrame.

I know that JInternalFrame can add to JDesktopPane and this can add directly to JFrame. But my requirement is bit tricky.

Can any one help me on this.

Thanks & Regards
Mur
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 17 2008
Added on Feb 18 2008
2 comments
699 views