How to troubleshoot errors when editing an Applet