import java.applet.*; import java.awt.*;
Make your own free website on Tripod.com

public class FontDemo extends Applet { Color bg: public void init () { bg=new Color(0x80,0x80,0x80); setBackground(bg); }
void ShadowText (Graphics g, String s, int x, int y, Color c1, Color c2, int amt) { g.setColor(c1); g.drawString(s,x+amt,y+amt); g.setColor(c1); g.drawString(s,x,y); }