Solved

Link to another question- Urgent

Posted on 2004-04-06
3
147 Views
Last Modified: 2010-03-31
0
Comment
Question by:mcowman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Suggested Courses

734 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