Class MDIDesktopPane

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class MDIDesktopPane extends JDesktopPane
An extension of WDesktopPane that supports often used MDI functionality. This class also handles setting scroll bars for when windows move too far to the left or bottom, providing the MDIDesktopPane is in a ScrollPane.
See Also:
  • Constructor Details

    • MDIDesktopPane

      public MDIDesktopPane()
  • Method Details

    • setBounds

      public void setBounds(int x, int y, int w, int h)
      Overrides:
      setBounds in class Component
    • add

      public Component add(JInternalFrame frame)
    • remove

      public void remove(Component c)
      Overrides:
      remove in class JDesktopPane
    • cascadeFrames

      public void cascadeFrames()
      Cascade all internal frames
    • tileFrames

      public void tileFrames()
      Tile all internal frames
    • setAllSize

      public void setAllSize(Dimension d)
      Sets all component size properties ( maximum, minimum, preferred) to the given dimension.
    • setAllSize

      public void setAllSize(int width, int height)
      Sets all component size properties ( maximum, minimum, preferred) to the given width and height.