set the textpane uneditable