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 - Missing file? in RC1
Summary: Missing file? in RC1
Status: RESOLVED INVALID
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Other
: P1 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-19 15:40 UTC by normmiller
Modified: 2004-03-19 15:53 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 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).