Bug 2244 - Adding JInternalFrame into JDesktopPane doesn`t work
Adding JInternalFrame into JDesktopPane doesn`t work
Status: CLOSED WORKSFORME
Product: guibuilder
Classification: Unclassified
Component: Code
3.x
All All
: P1 (vote)
: TBD
Assigned To: _ ttran
issues@guibuilder
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 1999-06-17 23:43 UTC by Jan Palka
Modified: 2002-07-19 15:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Palka 1999-06-17 23:43:12 UTC
I want to create a `MDI-like` Java-Applikation.
For that I started with a JFrame, inserted a JPanelDesktop and
in that Desktop I inserted a JInternalFrame. But then the JInternalFrame
just disappears. It is in the `Property-window` but I can`t access it in
the Formeditor. (If I insert the JInternalFrame right in the JFrame it`s
there, but I understand that you have to insert a JInternalFrame in a
JPanelDesktop).


[BAT]  Wrong code is generated. Also the source couldn`t be  compiled::
jInternalFrame1.getContentPane ()setLayout (new java.awt.CardLayout ());


I installed NB3.0, but found to my dismay that the bug with InternalFrames has reappeared. It is impossible to add any objects to the form. This bug was also present in NB2.1, and I was hoping that yo
u would have fixed it in NB3.0 (it wasn`t there in Gandalf). For someone who wants to write an MDI application, it is really quite impossible!

[BAT] tested with Form modul 0.9.1 and still fails

[IAN] I cannot help myself, it works. I create a JFrame Form, add a JDesktopPane there and add JInternalFrame to it. Correct code is generated.
Comment 1 Jan Stola 2000-07-27 17:54:59 UTC
Bug assigned to the module owner.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo