[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

10/23/2009 at 04:21AM PDT, ID: 24837596 | Points: 125
[x]
Attachment Details

simple netbeans question

Asked by BoBlake in Java AWT & Swing, Programming Languages, Java Editors & IDEs

Tags: java netbeans

Why won't netbeans find "initComponents()" in the following code?

Thanks for any help.  This is driving me nuts.  I've used this syntax before, but I'm missing something!

Bo
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
package ToyTestOne;
 
public class ToyApp extends javax.swing.JFrame
{
 
    Toy myToy;
 
    public ToyApp()
    {
        myToy = new Toy("GI Joe", 'B', "6-12", 12.99);
 
        initComponents();  // compiler says it cannot find symbol: method initComponents
 
    }
 
    public static void main(String[] args)
    {
    }
}
[+][-]10/23/09 05:12 AM, ID: 25643577

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/23/09 05:37 AM, ID: 25643742

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20090824-EE-VQP-74 - Hierarchy / EE_QW_3_20080625