Debugging applets
- Java console: send print statements and other debugging
output there.
- Browsers sometimes don't reload the .class file
properly after you recompile it, so you have to relaunch the
browser.
- much easier to debug applets with appletviewer, but
appletviewer has fewer security restrictions. Just type
appletviewer file.html
at the command prompt.
Next slide