The Java™ Tutorials
Hide TOC
Solving Common Applet Problems
Trail: Deployment
Lesson: Java Applets

Solving Common Applet Problems

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 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