setFlipTextSelectionOnEscape

fun JTextComponent.setFlipTextSelectionOnEscape(flipTextSelectionOnEscape: Boolean?)

Specifies whether this text component contents should flip selection on ESCAPE key press.

Parameters

flipTextSelectionOnEscape

If true, the contents of the specified text component will flip selection on ESCAPE key press. Pass null to reset to the default behavior.