File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Stii having problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Stii having problems" Watch "Stii having problems" New topic

Stii having problems

dave vanweed

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
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:
I agree. Here's the link:
subject: Stii having problems
It's not a secret anymore!