Here you can find the source of drawString(Graphics g, String text, int underlinedChar, int x, int y)
public static void drawString(Graphics g, String text, int underlinedChar, int x, int y)
//package com.java2s; //License from project: Open Source License import java.awt.*; public class Main { public static void drawString(Graphics g, String text, int underlinedChar, int x, int y) { g.drawString(text, x, y);//from ww w .ja v a2 s . co m } }