The Artima Developer Community
Sponsored Link

Java Answers Forum
Getting the user input from a JTable columns

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
ben

Posts: 57
Nickname: loftty
Registered: Oct, 2002

Getting the user input from a JTable columns Posted: Feb 10, 2003 9:45 AM
Reply to this message Reply
Advertisement
Hello
I have to columns on my JTable (first name , lastname).
How can I loop though each column like this?
the first column (first names), and get each row and add it to a String array?
for example if the user puts in 10 firstnames I want to add all 10 to a string array.
and for the second column, I want to add all the rows (last names ), to a arraylist. so if the user puts in 10 lastnames, I want to add them to the arraylist.
How can I do this?
thanks
ben

Topic: Internal representation for null poiner in java Previous Topic   Next Topic Topic: JDBC-ODBC Bridge

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use