import java.awt.*;
import java.applet.*;
/**
* pTitle: 带阴影的文字/p
* pDescription: 使用Applet和Graphics,实现一个文字的移动广告。/p
* pCopyright: Copyright (c) 2003/p
* pFilename: ShadowText.java/p
* @version 1.0
*/
public class ShadowText extends Applet implements Runnable
{
private Image img;
private Image offI;
private Graphics offG;
private Thread thread = null;
private int height,width;
private String text;
private int FontSize;
private Font font;
...[ 查看全文 ]