TECHNICAL NOTES: -- The CodeLayers class is in the package com.didi.codeProfiler so that it can have access to package-protected members. -- To profile the original profiler applet, I had to make it implement the Profilable interface. I also had to add the line "if (g!=null)" at the end of drawAll; for some reason this reference was sometimes nulled out in the middle of the method.The new class is ProfilableProfiler. -- I also made minor changes to the main applet profiler (CodeProfiler). -- Implemented AppletStub, and set client applet's stub to the CodeProfiler; this allows applets that needs a documentBase or parameters to be profiled. -- Made the client applet an instance variable, and called its "stop" method when appropriate. -- Printed out any caught Exceptions to ease debugging.