com.jgoodies.looks.common
Class RenderingUtils
java.lang.Object
com.jgoodies.looks.common.RenderingUtils
public final class RenderingUtils
extends java.lang.Object
Provides convenience behavior used by the JGoodies Looks.
Note: This class is not part of the public Looks API.
It should be treated as library internal and should not be used by
API users. It may be removed or changed with the Looks version
without further notice.
- Karsten Lentzsch
- Andrej Golovnin
static void | drawStringUnderlineCharAt(JComponent c, Graphics g, String text, int underlinedIndex, int x, int y) - Draws the string at the specified location underlining the specified
character.
|
drawStringUnderlineCharAt
public static void drawStringUnderlineCharAt(JComponent c,
Graphics g,
String text,
int underlinedIndex,
int x,
int y)
Draws the string at the specified location underlining the specified
character.
c
- JComponent that will display the string, may be nullg
- Graphics to draw the text totext
- String to displayunderlinedIndex
- Index of a character in the string to underlinex
- X coordinate to draw the text aty
- Y coordinate to draw the text at
Copyright © 2001-2008 JGoodies Karsten Lentzsch. All Rights Reserved.