JInternalFrame/JDesktopPane question  
Author Message
rptrevor





PostPosted: 2004-1-7 8:20:00 Top

java-programmer, JInternalFrame/JDesktopPane question Hello,

Is it possible to add a JDesktopPane to components other than
top-level components (RootPaneContainer interface implementors like
JFrame, JDialog, etc.)? I'd like to contain a set of JInternalFrames
within one side of a JSplitPane. I don't see a way to do it.

The functionality I'm looking for is a way to create a set of
components that can be dragged around within one side of a JSplitPane.
If there is another way to do that outside of JInternalFrames, I'd be
happy to hear about that as well.

Thanks,

R. Trevor
 
Andrew Thompson





PostPosted: 2004-1-7 15:13:00 Top

java-programmer >> JInternalFrame/JDesktopPane question "R. Trevor" <email***@***.com> wrote in message
news:email***@***.com...
| Hello,
|
| Is it possible to add a JDesktopPane to components other than
| top-level components (RootPaneContainer interface implementors
like
| JFrame, JDialog, etc.)? I'd like to contain a set of
JInternalFrames
| within one side of a JSplitPane. I don't see a way to do it.

I am not that familiar with JDesktopPane, so
forgive me if this goes astray..

It seems from the JDocs that you can add
any Component to a JSplitPane using
setLeftComponent(Component c)..
Since JDesktopPane is a component, it
would seem to suggest you could use
the setLeftComponent do get it there..

HTH