Answer the question
In order to leave comments, you need to log in
How to allow deleting only the text that the user himself wrote in the JTextArea?
How to prohibit deleting the text that was printed by the program, and the text that the user wrote, he can delete.
Let's say:
Your name: Vasya
Here the user cannot change the text "Your name:", and "Vasya" can add and delete it.
How to do it?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question