public static interface Highlighter.HighlightPainter 
      void paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent c)
g - 图形上下文 
           p0 - 模型中的起始偏移量> = 0 
           p1 - 模型中的结束偏移量> = p0 
           bounds - 
            bounds显示的边框 
           c - 编辑 
            Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.