Forums Register Login

JTable selections

+Pie Number of slices to send: Send
I'd like to have single selections in my table and to have it highlight both the row and the column for the selected cell, so it looks like a plus sign ( + ).
I've tried lots of things but all I can do is get the cell, the row, or the column separately.
Does anyone know how I can do this?
+Pie Number of slices to send: Send
I found a way to do it, it may not be the best. I modified the cell renderer and mucked about with the isSelected field.
If you try to please everybody, your progress is limited by the noisiest fool. And this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1132 times.
Similar Threads
Select JTextField value in a DefaultCellEditor
JTable selection listener doesn't listen to column changes
JTable related problem
JTable... Urgent!
Apply JTable Cell Editor for a specific row/column.
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 03:46:34.