Code example for JTextComponent

Methods: getHighlighter