Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2005

Tip: Looking for answers? Try searching our database.

Copy Jtable row and columnName into a 2 dimensional array

Thread view: 
tolu45 - 19 Oct 2005 10:38 GMT
I am having a problem copying the content of a JTable containing query
result into a 2 dimensional array. I need to copy the data and column
in order to mine the data.
I appreciate all help.
Andrew Thompson - 19 Oct 2005 10:56 GMT
...
> I appreciate all help.

Try reading the group for a few days, then see if
you can come up with a better thought out question.
Roedy Green - 19 Oct 2005 11:05 GMT
>I am having a problem copying the content of a JTable containing query
>result into a 2 dimensional array. I need to copy the data and column
>in order to mine the data.

see http://mindprod.com/jgloss/gotchas.html#MATRIX

if the data are changing size, (e.g. newly arriving rows) you probably
want an ArrayList of arrays not an array of arrays.

see http://mindprod.com/jgloss/arraylist.html
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.