The JDesktopPane class, can be used to create "multi-document" applications. A multi-document application can have many windows included in it. We do it by making the contentPane in the main window as an instance of the JDesktopPane class or a subclass. Internal windows add instances of JInternalFrame to the JdesktopPane instance. The internal windows are the instances of JInternalFrame or its subclasses.
|Modifier and Type||Field||Description|
|static int||LIVE_DRAG_MODE||It indicates that the entire contents of the item being dragged should appear inside the desktop pane.|
|static int||OUTLINE_DRAG_MODE||It indicates that an outline only of the item being dragged should appear inside the desktop pane.|
|JDesktopPane()||Creates a new JDesktopPane.|
A11 Acharya Niketan
Mayur Vihar 1
Near MayurVihar Metro Station