| Author |
Stii having problems
|
dave vanweed
Greenhorn
Joined: Feb 06, 2003
Posts: 6
|
|
This is my code that i have so far could someone please ajdust my code so that it will add what the user puts in the column firstname to a string array and do the same with the next column (lastname) and the print both out. i am still having trouble constructing it thanks very much davey
|
 |
Paul Stevens
Ranch Hand
Joined: May 17, 2001
Posts: 2823
|
|
I am not actually going to do this for you. It kind of sounds like homework to me. Here is a hint. You don't have anything even coded to try to get them out. Add a button and attach a listener to it. When the button is pressed, loop through the table and extract the values. Since you don't have a model for your table you will need to do something like: table.getModel().getValueAt(row,column);
|
 |
 |
|
|
subject: Stii having problems
|
|
|