JInternalFrame : Java Glossary


A Window with controls on it such as optional resizing buttons, an icon, a menubar and a title. Unlike a regular JFrame, it is constrained to live inside a mother JFrame.

Why would you use one instead of a JFrame? You can programmatically maximise a JInternalFrame with setMaximum( boolean ) or iconify/minise it with JInternalFrame. setIcon( boolean ). You can specify whether the JInternalFrame internal frame has the window decorations to support resizing, iconifying, closing and maximizing.

You don’t directly embed your JInternalFrames as components in a JFrame. Unlike JPanels, JInternalFrames are free to be moved around anywhere inside the mother JFrame, not constrained by a layout manager. So you declare a DesktopPane object for your JFrame and then add your JInternalFrames to that.

Learning More

Oracle’s Javadoc on JInternalFrame class : available:

This page is posted
on the web at:


Optional Replicator mirror
of mindprod.com
on local hard disk J:

Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

Your face IP:[]
You are visitor number