I want to know whether we can set two highlighters to a JEditorpane using sethighlighter(new Highlighter()) method where one is a default highlighter and the other is a underline highlighter.
I want to know whether we can set two highlighters to a JEditorpane using
Share
You can use one highlighter but adding highlights with another
HighlightPainterto paint your underline.