SelectedText Property (JTextComponent)

Class

JTextComponent class

Action

Gets the current selected text.

Data Type

STRING

Access

Read only

Examples

STRING sSelectedText = TextComponent.SelectedText