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 41155

Summary: Missing file? in RC1
Product: guibuilder Reporter: normmiller <normmiller>
Component: CodeAssignee: issues@guibuilder <issues>
Status: RESOLVED INVALID    
Severity: blocker    
Priority: P1    
Version: 3.x   
Hardware: PC   
OS: Other   
Issue Type: DEFECT Exception Reporter:

Description normmiller 2004-03-19 15:40:05 UTC
Putting text into a label field using form
generator,  code generated is
 org.openide.awt.Mnemonics.setLocalizedText(jLabel1,"any");

Attempt to compile results in error:

"package org.openide.awt does not exist"
Comment 1 Tomas Pavek 2004-03-19 15:53:10 UTC
This appears only when Advanced Mnemonics feature is turend on. There
is a detailed explanation what this means both in help and in a hint
window in form editor. Basically - this feature is usable only for
forms running in the IDE where org.openide.awt.Mnemonics is present.
Otherwise you'd have to mount openide.jar to compile and then
distribute the Mnemonics class also with your application. So it seems
you should rather turn this feature off - Tools | Options -> Editing
-> Form Editor Settings -> Generate Mnemonics Code property. The same
property should be turned off for each component (label or button)
added when the option was on (in Code properties of selected component
Inspector uncheck Generate Mnemonics Code).