JTextArea, how to set only a part of text editable?

How to set only a part of text in JTextArea editable? For example I want to forbid changing text beteween lines 2 and 6. JTextArea has method setEditable but this works only for whole JTextArea.

Plz help!!!

[219 byte] By [bslimaa] at [2007-11-27 10:25:40]
# 1

http://forum.java.sun.com/thread.jspa?forumID=57&threadID=5177361

camickra at 2007-7-28 17:34:59 > top of Java-index,Desktop,Core GUI APIs...