SelectedText Property (JTextComponent)

Action

Gets the current selected text.

Syntax

'Declaration
Protected Read Property SelectedText As String

Access

Read only.

Examples

Dim selectedText As String = textComponent.SelectedText