JTextComponent highlight and text selection
Hello,
I'm working with subclass of TextPane which use a subclass of DefaultStyledDocument. I had to write my own text selection highlight because a Paragraph element contains many level of other elements and I had to prevent that a user selects an highlight just a part of theses elements : only a entire element must be selected and highlight .
I overwrite the JTextComponent select(...) method, but it doesn't work.
Could you help me ?

