org.openide.awt does not exist

Z

Zia

Hi,
im making a project in netbeans, and having a lot of difficulty due to
this error during comiplation :

newEnquiry.java:53: package org.openide.awt does not exist
org.openide.awt.Mnemonics.setLocalizedText(jLabel1, "Order Number

NetBeans puts in automatically generated code producing :
org.openide.awt.Mnemonics.setLocalizedText(jLabel1, "Order Number
:");

As this code cannot be modified, i find no solution to it. Please
anyone, help me out.
 
?

=?ISO-8859-1?Q?Arne_Vajh=F8j?=

Zia said:
im making a project in netbeans, and having a lot of difficulty due to
this error during comiplation :

newEnquiry.java:53: package org.openide.awt does not exist
org.openide.awt.Mnemonics.setLocalizedText(jLabel1, "Order Number

NetBeans puts in automatically generated code producing :
org.openide.awt.Mnemonics.setLocalizedText(jLabel1, "Order Number
:");

As this code cannot be modified, i find no solution to it. Please
anyone, help me out.

It is a NetBeans specific class.

Are you trying to build outside of NetBeans ?

Arne
 
A

Andrew Thompson

Arne said:
....
It is a NetBeans specific class.

Are you trying to build outside of NetBeans ?

The NetBeans site also suggested it was
obsolete and the imports should be changed
to a new package.

I gather the OP's problem* is that they do
not have the source of the class that attempts
to use that import.

* Guessing, mostly.

Andrew T.
 
Z

Zia

Andrew said:
The NetBeans site also suggested it was
obsolete and the imports should be changed
to a new package.

I gather the OP's problem* is that they do
not have the source of the class that attempts
to use that import.

* Guessing, mostly.

Andrew T.


Hey thank u guys. i was able to solve the problem.
The problem was occuring only in the labels, so i selected them all,
and in the code window, just unchecked the 'Generate Mnemonic code'.
well that solved the problem. the error didnt occur during compilation.
Thank you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top