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 / July 2005

Tip: Looking for answers? Try searching our database.

Netbeans package org.openide.awt does not exist

Thread view: 
Kyle - 26 Jul 2005 22:45 GMT
I started a new project in NetBeans and ran into an infuriating
problem.  When adding a component that uses the setText() method,
NetBeans puts in automatically generated code producing
org.openide.awt.Mnemonics.setLocalizedText(jLabel1, "jLabel1");  (This
auto code cannot be changed.)  This gives compile errors:

C:\Documents and Settings\...\NewJFrame.java:34: package
org.openide.awt does not exist
       org.openide.awt.Mnemonics.setLocalizedText(jLabel1, "jLabel1");
1 error
BUILD FAILED (total time: 0 seconds)

Tried removing and reinstalling NetBeans, searching on NetBeans
community, checked classpath settings, etc.  I can open project other
projects and add components without org.openide being referenced.

What do I need to change to get rid of the reference to org.openide???
Andrew Thompson - 26 Jul 2005 22:50 GMT
> What do I need to change to get rid of the reference to org.openide???

..the IDE?

Signature

Andrew Thompson
physci.org 1point1c.org javasaver.com lensescapes.com athompson.info
Dancing Space Potatoes?  You Bet!

Kyle - 27 Jul 2005 01:46 GMT
Thanks for the reply.  Any new project I make has some reference that
by default uses this org.openide reference.  I'm asking what should I
change in the IDE to remove this automatic use of the org.openide.*
files.
Kyle - 27 Jul 2005 16:47 GMT
Here's the solution.  In NB 4.1, in the Form Editor settings unclick
Generate Mnemonics Code.  Still don't know what selected this option.
If a wizard component is made while mnemonics is selected, you can't
turn it off.


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



©2008 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.