public void start() {
   repaint();
}

解决方案 »

  1.   

    and put the jpg file in the same dir where the testing html file is in.
      

  2.   

    在applet中由于安全问题,你不能访问磁盘文件,必须使用数字签名,或者写一个.policy文件。
    你装一个jre,你看applet的时候,就可以通过java控制台来看出问题所在。最简单的方法写一个.java.policy文件到当前用户的文件夹,比如C:\Documents and Settings\Administrator。
      

  3.   

    请检查你的邮件.不要在JB中看,双击CLASSES目录中的HTML.
      

  4.   

    http://www.chinabs.net/java/default.asp?infoid=45