运行html文件如下
<html>
<head>
<title>Watch Applet</title>
</head>
<body bgcolor="#996633">
<applet code="AskPassword.class" height="50" width="50">
</applet>
</body>
</html>  
通过浏览器打开html文件,我想说明一下。AskPassword.class的代码是没有错误的,运行之后在浏览器只是看到一下四方框,里面的内容没法显示