JInternalFrame : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

JInternalFrame
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:

http://mindprod.com/jgloss/jinternalframe.html

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

J:\mindprod\jgloss\jinternalframe.html
Canadian Mind Products
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.

IP:[65.110.21.43]
Your face IP:[3.15.186.78]
You are visitor number