JTable

Table B-31. Bound JTable actions (when ancestor of focused component)

ActionMap entry

Metal L&F

Mac L&F

cancel

Escape-P

Escape-P

copy

Copy-PCtrl C-P

Not bound

cut

Ctrl X-PCut-P

Not bound

paste

Ctrl V-PPaste-P

Not bound

scrollDownChangeSelection

Page Down-P

Page Down-P

scrollDownExtendSelection

Shift Page Down-P

Shift Page Down-P

scrollLeftChangeSelection

Ctrl Page Up-P

Command Left-P

scrollLeftExtendSelection

Ctrl+Shift Page Down-P

Command+Shift Right-P

scrollRightChangeSelection

Ctrl Page Down-P

Command Right-P

scrollRightExtendSelection

Ctrl+Shift Page Up-P

Command+Shift Left-P

scrollUpChangeSelection

Page Up-P

Page Up-P

scrollUpExtendSelection

Shift Page Up-P

Shift Page Up-P

selectAll

Ctrl A-P

Command A-P

selectFirstColumn

Home-P

Home-P

selectFirstColumnExtendSelection

Shift Home-P

Not bound

selectFirstRow

Ctrl Home-P

Command Home-P

selectFirstRowExtendSelection

Ctrl+Shift Home-P

Shift Home-P

selectLastColumn

End-P

End-P

selectLastColumnExtendSelection

Shift End-P

Not bound

selectLastRow

Ctrl End-P

Command End-P

selectLastRowExtendSelection

Ctrl+Shift End-P

Shift End-P

selectNextColumn

Right-P

Right-P

selectNextColumnCell

Tab-P

Tab-P

selectNextColumnExtendSelection

Shift Right-P

Shift Right-P

selectNextRow

Down-P

Down-P

selectNextRowCell

Enter-P

Enter-P

selectNextRowExtendSelection

Shift Down-P

Shift Down-P

selectPreviousColumn

Left-P

Left-P

selectPreviousColumnCell

Shift Tab-P

Shift Tab-P

selectPreviousColumnExtendSelection

Shift Left-P

Shift Left-P

selectPreviousRow

Up-P

Up-P

selectPreviousRowCell

Shift Enter-P

Shift Enter-P

selectPreviousRowExtendSelection

Shift Up-P ...

Get Java Swing, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.