Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: jtextfield population help
01-14-2009, 11:31 PM #1
- Join Date
- Jan 2009
- Thanked 0 Times in 0 Posts
jtextfield population help
Lets say I have a JPanel called JPanel1. It contains 17 jtextfields named
Now I have a array of 17 strings and I wish to populate the jtextfields
with the string values using something like:
for (x = 1;x<17;x++)
Is this possible? I need to be able to access the jtextfields by an index so I can use loops to populate them.