Netbeans package org.openide.awt does not exist

Discussion in 'Java' started by Kyle, Jul 26, 2005.

  1. Kyle

    Kyle Guest

    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???
     
    Kyle, Jul 26, 2005
    #1
    1. Advertising

  2. On 26 Jul 2005 14:45:58 -0700, Kyle wrote:

    > What do I need to change to get rid of the reference to org.openide???


    ...the IDE?

    --
    Andrew Thompson
    physci.org 1point1c.org javasaver.com lensescapes.com athompson.info
    Dancing Space Potatoes? You Bet!
     
    Andrew Thompson, Jul 26, 2005
    #2
    1. Advertising

  3. Kyle

    Kyle Guest

    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, Jul 27, 2005
    #3
  4. Kyle

    Kyle Guest

    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.
     
    Kyle, Jul 27, 2005
    #4
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Zia
    Replies:
    3
    Views:
    1,202
  2. www
    Replies:
    2
    Views:
    10,526
    bugbear
    Aug 22, 2007
  3. Enter The
    Replies:
    3
    Views:
    1,760
    Nigel Wade
    Sep 28, 2007
  4. PerlFAQ Server
    Replies:
    0
    Views:
    703
    PerlFAQ Server
    Feb 3, 2011
  5. PerlFAQ Server
    Replies:
    0
    Views:
    708
    PerlFAQ Server
    Apr 4, 2011
Loading...

Share This Page