Forums Register Login

How to retrive cell value from Jtable into a String variable for further use?

+Pie Number of slices to send: Send
hey all,

I wanna select a particular cell from my jtable and then store it in a string variable for future use. How do i do that? Please help.

I have generated the Jtable with the following constructor Jtable(Vector columns , Vector data);

Cant upload the code because Coderanch is giving the following error. I cant even make out the line no.


I am attaching an image of the code snippet please have a look. I need this code urgently!!


Error by Code Ranch:

Some lines in the code block exceed 120 characters. Such as:
in code block 1, line number(s): [55]
jtable-code.PNG
jtable code
[Thumbnail for jtable-code.PNG]
+Pie Number of slices to send: Send
getValueAt(...)?
+Pie Number of slices to send: Send
I am sorry i didnt get you. I have worked on Jtable before please can you elaborate?
+Pie Number of slices to send: Send
look up that method of the JTable class
We noticed he had no friends. So we gave him this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1151 times.
Similar Threads
JTable ClassCastException...
Populating JTable from a textfile
JTable
jtable
Hard JTABLE Question
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 05:41:37.