JEditorPane

Table B-6. Bound JEditorPane actions (when focused)

ActionMap entry

Metal L&F

Mac L&F

caret-backward

Left-P

Left-P

caret-begin

Ctrl Home-P

Home-PCommand Up-P

caret-begin-line

Home-P

Command Left-P

caret-begin-paragraph

Not bound

Option Up-P

caret-down

Down-P

Down-P

caret-end

Ctrl End-P

End-PCommand Down-P

caret-end-line

End-P

Command Right-P

caret-end-paragraph

Not bound

Option Down-P

caret-forward

Right-P

Right-P

caret-next-word

Ctrl Right-P

Option Right-P

caret-previous-word

Ctrl Left-P

Option Left-P

caret-up

Up-P

Up-P

copy-to-clipboard

Ctrl C-PCopy-P

Command C-P

cut-to-clipboard

Ctrl X-PCut-P

Command X-P

delete-next

Delete-P

Delete-PShift Delete-P

delete-previous

Backspace*

Shift Backspace-PBackspace-P

insert-break

Enter-P

Enter-P

insert-tab

Tab-P

Tab-P

page-down

Page Down-P

Page Down-P

page-up

Page Up-P

Page Up-P

paste-from-clipboard

Ctrl V-PPaste-P

Command V-P

select-all

Ctrl A-P

Command A-P

selection-backward

Shift Left-P

Shift Left-P

selection-begin

Ctrl+Shift Home-P

Command+Shift Up-PShift Home-P

selection-begin-line

Shift Home-P

Command Left-PCommand+Shift Left-P

selection-begin-paragraph

Not bound

Option+Shift Up-P

selection-begin-word

Not bound

Option+Shift Left-P

selection-down

Shift Down-P

Shift Down-P

selection-end

Ctrl+Shift End-P

Shift End-PCommand+Shift Down-P

selection-end-line

Shift End-P

Command+Shift Right-PCommand Right-P

selection-end-paragraph

Not bound

Option+Shift Down-P

selection-end-word

Not bound

Option+Shift Right-P

selection-forward

Shift Right-P

Shift Right-P

selection-next-word

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.