Forums Register Login

JTable.clearSelection Doesn't Unselect JTextField

+Pie Number of slices to send: Send
I have a JTextField within a JTable. When I call clearSelection on the the JTable, the selected row is unselected; however, the JTextField in the previously selected row is still editable. I want this JTextField to be unselected as well.
+Pie Number of slices to send: Send
Check out CellEditor.stopCellEditing and CellEditor.cancelCellEditing
Well behaved women rarely make history - Eleanor Roosevelt. tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 2723 times.
Similar Threads
JTable
Jtable
JTable
JTable
JTable
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 19:06:50.