Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2006

Tip: Looking for answers? Try searching our database.

org.openide.awt does not exist

Thread view: 
Zia - 21 Oct 2006 12:11 GMT
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.
Arne Vajhøj - 21 Oct 2006 15:40 GMT
> im making a project in netbeans, and having a lot of difficulty due to
> this error during comiplation :
[quoted text clipped - 8 lines]
> 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
Andrew Thompson - 21 Oct 2006 16:05 GMT
> > im making a project in netbeans, ...
...
> 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.
Zia - 24 Oct 2006 20:17 GMT
> > > im making a project in netbeans, ...
> ...
[quoted text clipped - 13 lines]
>
> 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.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.