The multiple document interface (MDI) model is like a traditional computer windowing system, in that it has windows within windows. In a windowing system, you have a desktop with windows on it. With a Swing MDI application, you have a backing window (desktop pane) with internal frames on it. The user can position, resize, close, and minimize the internal frames like windows on a traditional desktop.
To create an MDI application:
New to display the New
wizard. Then expand the GUI Forms node and select one of these templates in the
Template Chooser:
![]() |
You can add other components directly to the JDesktopPane container, such as a JTable or JSlider component. However, these have standard properties and users can't manipulate them as they might manipulate components in a JInternalFrame container. |
| See also | |
|---|---|
|
Creating a New Form
Working With Components | |