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 115751 - 6.0 Matisse bug with JPopupMenu
Summary: 6.0 Matisse bug with JPopupMenu
Status: RESOLVED WORKSFORME
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-17 21:38 UTC by shaunhicks01
Modified: 2007-09-20 16:54 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 shaunhicks01 2007-09-17 21:38:51 UTC
Started a 5.5.1 project using a Matisse form.

Several sets of JPopupMenus on the form - typical Add/Remove Item options on the menu.  

After opening the project in 6.0 M10, the JPopupMenus lost all sub-components - i.e. the JMenuItems.  

Event handlers for the missing menu items were still present (along with the custom code), but all references within 
the form (via Object Navigator) were missing.

The JPopupMenus were attached to multiple JTables - which still had a reference to the now empty menus.
Comment 1 Tomas Pavek 2007-09-18 14:06:09 UTC
I'm not able to reproduce - when I create a form with some popup menus in 5.5, all is present in current 6.0 dev. Could
attach here the project or at least the form (bot .java and .form files) that works fine in 5.5 but not in 6.0? You can
also send it to me directly if you want to keep it private. Thanks
Comment 2 Tomas Pavek 2007-09-20 16:54:10 UTC
I've tried the original form where the problem happened, but it worked. Neither the reporter was able to reproduce the
problem again. There seems to be no clear defect in importing popup menus from 5.5 to 6.0, this must have been something
else or quite specific. Please reopen this issue if you ever run into the same problem. Thanks.