getText() sample
getSelectedText() sample
select() and selectAll() sample
select() -> setSelectionStart(), setSelectionEnd()
setEditable(), setEnabled() and setDisabledTextColor() sample
cut(), copy() and paste() sample
setToolTipText() sample