Results 1 to 1 of 1
Thread: Jtable getcolumnvalue
- 10-04-2010, 05:56 PM #1
Member
- Join Date
- Oct 2010
- Posts
- 1
- Rep Power
- 0
Jtable getcolumnvalue
So basically i've got a jtable with data in it colm1, colm2 and colm3 I want to be able to get the values in say for example colm2 and run it aganist my server but im having trouble. here is what my code looks like
Regards LimpepJava Code:int row_index = 0; int col_index = 0; for (int i = 0; i < row_index; i++) { Object o = MyTable.getModel().getValueAt(i, col_index); data[0] = o.toString(); }
Similar Threads
-
JTable
By BeeGee in forum Advanced JavaReplies: 5Last Post: 04-28-2010, 05:29 PM -
Adding New JTable in JTable
By anilkumar_vist in forum New To JavaReplies: 0Last Post: 01-27-2010, 08:27 AM -
Jtable
By prashant in forum Java AppletsReplies: 0Last Post: 07-19-2009, 07:04 PM -
Jtable duplicates through Hashtable (JTable condition problem) my assignment plz help
By salmanpirzada1 in forum Advanced JavaReplies: 2Last Post: 05-15-2008, 10:15 AM -
How to add in a new row in Jtable?
By Ry4n in forum AWT / SwingReplies: 0Last Post: 01-18-2008, 12:26 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks