?
Solved

Link to another question- Urgent

Posted on 2004-04-06
3
Medium Priority
?
150 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 500 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
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.
This video teaches viewers about errors in exception handling.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses
Course of the Month14 days, 14 hours left to enroll

771 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