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 -

ruby on rails - Convert a Activerecord result with has_one associations into a single hash per record -

javascript - Read complete data from stream from onMessage -