试试在html文件所在的目录下使用appletviewer,应该不会出现这个问题