-
August 6th, 2012, 04:12 AM
#1
How to get Focus to the cell in JTable, when its cells are rendered and edited?
The table i am using has combobox, Datepicker, RadioButtons, etc in the cells. When i am navigating inside table, i wont be able to know, in which cell i am. Focus is not visible. Tried,
table.setCellSelectionEnabled(true);
table.changeSelection(0, 1, false, false);
table.setColumnSelectionInterval(0, 0);
table.setRowSelectionInterval(0, 0);
table.requestFocus();
But nothing is getting focus in cell. Please help me out.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|