This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi, I want to insert some data from a txt-file in a table. If I use the object I must know what data I have to insert there. How can I insert data to the table when I don't know how many cols I have? Please help, thanks! [This message has been edited by Brain Tenner (edited December 14, 2001).]
do you mean how many rows you have? if you do simply call the getRowCount() function of jtable to find out how many r already there. Jtable is dynamic and all u have to do is add an item using the addElement method from the default table model. ------------------ sean's software tips