drawBezel(Graphics g,
int x,
int y,
int w,
int h,
boolean isPressed,
boolean isDefault,
Color shadow,
Color darkShadow,
Color highlight,
Color lightHighlight)
drawString(Graphics g,
String text,
int underlinedChar,
int x,
int y)
Draw a string with the graphics g at location (x,y) just like g.drawString() would.
Returns the amount of space taken up by a border drawn by
drawGroove()
Returns:
the inset of a groove border
drawBezel
public static void drawBezel(Graphics g,
int x,
int y,
int w,
int h,
boolean isPressed,
boolean isDefault,
Color shadow,
Color darkShadow,
Color highlight,
Color lightHighlight)
drawLoweredBezel
public static void drawLoweredBezel(Graphics g,
int x,
int y,
int w,
int h,
Color shadow,
Color darkShadow,
Color highlight,
Color lightHighlight)
drawString
public static void drawString(Graphics g,
String text,
int underlinedChar,
int x,
int y)
Draw a string with the graphics g at location (x,y) just like g.drawString() would.
The first occurence of underlineChar in text will be underlined. The matching is
not case sensitive.
drawDashedRect
public static void drawDashedRect(Graphics g,
int x,
int y,
int width,
int height)
Submit a bug or feature For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, California, 94303, U.S.A. All Rights Reserved.