Solved

Link to another question- Urgent

Posted on 2004-04-06
3
141 Views
Last Modified: 2010-03-31
0
Comment
Question by:mcowman
3 Comments
 
LVL 4

Expert Comment

by:ShannonE
ID: 10768218
1 thing I noticed immediatly is that you already declared some JTextFields globally and then you're redeclaring them, for example:
JTextField addmembertfield1  = new JTextField(15);
JTextField addmembertfield2  = new JTextField(15);

Change the above to:
addmembertfield1  = new JTextField(15);
addmembertfield2  = new JTextField(15);

and similarly for all other objects that were already declared.
                   
0
 
LVL 4

Expert Comment

by:91mustang
ID: 10770184
hello: change this:

JTextField  addmembertfield1  = new JTextField(15);
JTextField addmembertfield2  = new JTextField(15);
JTextField addmembertfield3  = new JTextField(15);
JTextField addmembertfield4  = new JTextField(15);
JTextField addmembertfield5  = new JTextField(15);
JTextField addmembertfield6  = new JTextField(15);
JTextField addmembertfield7  = new JTextField(15);
JTextField addmembertfield8  = new JTextField(15);
JTextField addmembertfield9  = new JTextField(15);
JTextField addmembertfield10  = new JTextField(6);
JTextField addmembertfield11  = new JTextField(15);


TO this:


addmembertfield1  = new JTextField(15);
addmembertfield2  = new JTextField(15);
addmembertfield3  = new JTextField(15);
addmembertfield4  = new JTextField(15);
addmembertfield5  = new JTextField(15);
addmembertfield6  = new JTextField(15);
addmembertfield7  = new JTextField(15);
addmembertfield8  = new JTextField(15);
addmembertfield9  = new JTextField(15);
addmembertfield10  = new JTextField(6);
addmembertfield11  = new JTextField(15);


That should work for you!!!
0
 
LVL 30

Accepted Solution

by:
mayankeagle earned 125 total points
ID: 10772034
>> 1 thing I noticed immediatly is that you already declared some JTextFields

- is what has been already suggested on that page numerous times. Please don't repeat it. Also, please don't post comments on questions which are used just as links to other questions. Its better to goto that other question and post there so that all the discussion can be carried out on one page, which is simpler. Its tougher and more confusing to discuss the same thing on 2 question-pages.

Thanks,
Mayank.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now