Forums Register Login

JTable Navigation Question

+Pie Number of slices to send: Send
Hi,
By default, when a JTable has the keyboard focus, the TAB key moves the cell selection to the next cell while SHIFT+TAB moves the cell selection to the previous cell.
I am trying to locate the code that handles this default navigational behavior, but without success.
I tried looking for a key listener in JTable but did not find one.
Then I checked for any InputMap objects associated with JTable and also found none.
Please someone tell me where I can find the code that handles cell selection navigation in JTable.

Thanks,
Avi.
+Pie Number of slices to send: Send
You could try looking in the look&feel. Package javax.swing.plaf and its sub-packages are the place to look.
+Pie Number of slices to send: Send
Rob,
Thank you.
Found the following:

Cheers,
Avi.
If you like strawberry rhubarb pie, try blueberry rhubarb (bluebarb) pie. And try 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 1152 times.
Similar Threads
JTable tabbing
Disabling JTable Cell selections
jtable
JTable
Jtable as listbox?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 19, 2024 03:21:43.