com.jgoodies.looks.common
Class RenderingUtils
java.lang.Object
com.jgoodies.looks.common.RenderingUtils
public final class RenderingUtils
- extends 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.
- Since:
- 2.0
- Version:
- $Revision: 1.9 $
- Author:
- Karsten Lentzsch, Andrej Golovnin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
- Parameters:
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-2007 JGoodies Karsten Lentzsch. All Rights Reserved.