This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 2244 - Adding JInternalFrame into JDesktopPane doesn`t work
Summary: Adding JInternalFrame into JDesktopPane doesn`t work
Status: CLOSED WORKSFORME
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P1 major (vote)
Assignee: _ ttran
URL:
Keywords:
Depends on:
Blocks:
 
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
Exception Reporter:


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.