Swing provides a set of components for implementing Multiple Document Interface (MDI) applications. MDI applications, such as Microsoft Word and Adobe FrameMaker, are implemented with a window that acts as a desktop for documents created in the application.
Swing offers MDI functionality with a desktop—represented by the
JDesktopPane class—and internal frames, represented by the
JInternalFrame class. Internal frames reside on a desktop and can be opened, closed, maximized, and iconified within a desktop. Swing also provides a