Solved

Link to another question- Urgent

Posted on 2004-04-06
3
144 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:
Mayank S 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
This video teaches viewers about errors in exception handling.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

815 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

8 Experts available now in Live!

Get 1:1 Help Now