1. highlighting a line in jtextpane; Java stackoverflow.comhow i can do it? in code forexample: JTextPane tp; ... tp.hightlight(num);// num is number of line |
2. JTextPane highlight text stackoverflow.comCan I highlight some text into a |
3. Highlight text in a a JTextPane coderanch.com |
4. Highlighting text in a JTextPane without scrolling to the end. coderanch.comI have some text displayed in a JTextPane that I want to programatically select and highlight. The selection and highlighting works just fine but when the text is selected, the JTextPane scrolls to the end of the selected text. I would like to keep it at the beginning of the selected text. If I call setCaretPosition(start), the beginning of the selected ... |