文档

Java™ 教程-Java Tutorials 中文版
解决常见的 Applet 问题
Trail: Deployment
Lesson: Java Applets

解决常见的 Applet 问题

This section covers some common problems that you might encounter when writing Java applets. After each problem is a list of possible reasons and solutions.

Problem:My applet does not display.

Problem:The Java Console log displays java.lang.ClassNotFoundException.

Problem:I was able to build the code once, but now the build fails even though there are no compilation errors.

Problem:When I try to load a web page that has an applet, my browser redirects me to www.java.com without any warning

Problem:I fixed some bugs and re-built my applet's source code. When I reload the applet's web page, my fixes are not showing up.


Previous page: What Applets Can and Cannot Do
Next page: Questions and Exercises: Applets