java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----com.sun.java.swing.JComponent
|
+----com.sun.java.swing.JLayeredPane
|
+----com.sun.java.swing.JDesktopPane
This JLayeredPane subclass keeps a reference to a DesktopManager object. This class in normally used as the parent of JInternalFrames to provide a pluggable DesktopManager object to the JInternalFrames.
The installUI of the L&F specific implementation is responsible for setting the desktopManager variable appropriately.
When the parent of a JInternalFrame is a JDesktopPane, it should delegate most of its behavior to the desktopManager (closing, resizing, etc).
Warning: serialized objects of this class will not be compatible with future swing releases. The current serialization support is appropriate for short term storage or RMI between Swing1.0 applications. It will not be possible to load serialized Swing1.0 objects with future releases of Swing. The JDK1.2 release of Swing will be the compatibility baseline for the serialized form of Swing objects.
public JDesktopPane()
public DesktopPaneUI getUI()setUI
public void setUI(DesktopPaneUI ui)getDesktopManager
public DesktopManager getDesktopManager()setDesktopManager
public void setDesktopManager(DesktopManager d)updateUI
public void updateUI()
public String getUIClassID()
public JInternalFrame[] getAllFrames()
public JInternalFrame[] getAllFramesInLayer(int layer)
public boolean isOpaque()
public AccessibleContext getAccessibleContext()
![]()