subwindow in FrameView window
Dear Java developers,
Does somebody know how to add subwindows (JFrame's) to a FrameView class?
FrameView is a netbeans thingy, which I usually do not even try to use.
But I would like to give it a shot this time.
So basicly what I am looking for is something like ...
FrameView myFrameview = ...;
JFrame myJFrame = ...;
myFrameview.showInside(myJFrame);
So when I maximize the JFrame it should maximize inside the FrameView window. I believe they call this concept MDI (Multiple Document Interface).
Thanks in advance :afrog:
Re: subwindow in FrameView window
what's a FrameView??
The only way I know to make an MDI application is using the JDesktopPane as an MDI with JInternalFrame(s) for children.. So the code must look something like
Code:
jDesktopPane.add(jInternalFrame, javax.swing.JLayeredPane.DEFAULT_LAYER);