canEdit

val JTextComponent.canEdit: Boolean

Whether the receiver can really be edited.