Ranchers,
Thanks for a quick and prompt response. In response to
Darryl's question, I need a split pane for my app to look
like a combination of a source code editor and a console.
Hence two JInternalFrames. Darryl, you are right about
it being a
IDE generated code. I used NetBeans to get this
and i used a JSplitPane because maximizing the window produces
the appropriate behavior of the JInternalFrames in terms of the
space adjustments which makes it look like a standard editor.
My question is about the behavior of the JInternalFrames when
i close them and try to retrieve them by the following
It should bring back the closed frame to the similar positioning
as it was when the application was started. But i see that it
does not. It does retrieve it, but it does not place it in its
original position. I also have tried to do this using JDesktopPane,
but it still behaves the same way, probably worse, because when
i used the JDesktopPane, when i maximize the top level JFrame,
the two internal frames do not automatically resize. I hope i am
making sense.
Thanks and Regards,
Guru