JPasswordField

Table B-18. Bound JPasswordField actions (when focused)

ActionMap entry

Metal L&F

Mac L&F

caret-backward

Left-P

Left-P

caret-begin-line

Home-P

Up-PCommand Left-P

caret-end-line

End-P

Down-PCommand Right-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

copy-to-clipboard

Ctrl C-PCopy-P

Command C-P

cut-to-clipboard

Cut-PCtrl X-P

Command X-P

delete-next

Delete-P

Delete-PShift Delete-P

delete-previous

Backspace*

Shift Backspace-PBackspace-P

notify-field-accept

Enter-P

Enter-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-line

Shift Home-P

Shift Up-P

selection-begin-word

Not bound

Command Left-PCommand+Shift Left-P

selection-end

Not bound

Option+Shift Left-P

selection-end-line

Shift End-P

Shift Down-P

selection-end-word

Not bound

Command+Shift Right-PCommand Right-P

selection-forward

Shift Right-P

Option+Shift Right-P

selection-next-word

Ctrl+Shift Right-P

Not bound

selection-previous-word

Ctrl+Shift Left-P

Not bound

toggle-componentOrientation

Ctrl+Shift O-P

Not bound

unselect

Ctrl \-P

Not bound

  

Table B-19. Unbound JPasswordField actions

beep

page-up

caret-begin

paste

caret-begin-paragraph

requestFocus

caret-begin-word

selection-begin

caret-down

selection-begin-paragraph

caret-end

selection-down

caret-end-paragraph

selection-end

caret-end-word

selection-end-paragraph

caret-up

selection-page-down

copy

selection-page-left

cut

selection-page-right

default-typed

selection-page-up

dump-model

selection-up ...

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.