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 112322 - RES: wrong code displayed in code customizer for jMenuBar
Summary: RES: wrong code displayed in code customizer for jMenuBar
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: App Framework (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-08 14:47 UTC by Jana Maleckova
Modified: 2007-11-01 12:50 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 Jana Maleckova 2007-08-08 14:47:53 UTC
Product Version: NetBeans IDE Dev (Build 070808) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 System: Windows
XP version 5.1 running on x86; Cp1252; en_GB (nb)

Description:
============
1. create new form class in JDA project
2. set resource management for this class as All resources + injection
3. insert jmenu bar in form class
4. invoke code customizer
see, there is incorrect code

*/
\2application.Application.getInstance(desktopapplication2.DesktopApplication2.class).getContext().getResourceMap(NewJFrame.class)*/
\2application.ResourceMap*/
\2resourceMap*/
\0.injectComponents(jMenuBar1);
Comment 1 Tomas Pavek 2007-09-10 14:00:36 UTC
Fixed.

/cvs/form/src/org/netbeans/modules/form/JavaCodeGenerator.java
new revision: 1.208; previous revision: 1.207
Comment 2 Jana Maleckova 2007-11-01 12:50:59 UTC
verified on

Product Version: NetBeans IDE Dev (Build 20071101060911)
Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05
System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)