如何在java Graphics2D 画出文字的阴影黑边效果

public static void setFont(String context, BufferedImage ImageNew, int x,
int y, Color c) {
Graphics2D g = ImageNew.createGraphics();// 得到图形上下文
g.setColor(c); // 设置画笔颜色 Color.LIGHT_GRAY
g.setFont(new Font("宋体", Font.PLAIN, 12));// 设置字体
g.drawString(context, x, y);
g.dispose();

}

试了很多办法都不行 请大神赐教