java - setting multiple highlighters to a jeditorpane -


I want to know that we can set the two highlighter of JEditorpane to sethighlighter (New Highlighter ()) Method where there is a default Highlighter and the other is a highlighted Highlighter

You can use a highlighter but can add highlights with another highlength operator underline.

  Public Object addHighlight (int p0, int p1, Highlighter P) throws BadLocationException;    

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

javascript - What is an alternative to using getElementByClass for hiding multiple elements? -

javascript - Making the first column of a table fixed on horizontal scroll -