replaceRange() sample
setEditable(), setEnable(), and setDisabledTextColor() sample
cut(), copy(), and paste() sample
setToolTipText() sample