Solved

Link to another question- Urgent

Posted on 2004-04-06
3
142 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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 had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
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…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

920 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

14 Experts available now in Live!

Get 1:1 Help Now