Here you can find the source of drawFrank(Graphics g, int x, int y)
public static void drawFrank(Graphics g, int x, int y)
//package com.java2s; //License from project: LGPL import java.awt.Color; import java.awt.Font; import java.awt.Graphics; public class Main { public static void drawFrank(Graphics g, int x, int y) { g.setFont(new Font("Arial", Font.BOLD, 12)); g.setColor(Color.gray);/* ww w. ja v a2 s . c o m*/ String s = "Quantum Workbench"; g.drawString(s, x + 1, y - 1); g.drawString(s, x + 1, y + 1); g.drawString(s, x - 1, y - 1); g.drawString(s, x - 1, y + 1); g.setColor(Color.white); g.drawString(s, x, y); } }