This is a post for applet related problems discussion. A reference
wiki page can be found on
http://code.google.com/p/informative-workspace/wiki/AppletProblemsReference?updated=AppletProblemsReference&ts=1208489927
First problem is the getParameter(String paramName) method throws null
pointer exception while trying to get the param from the applet tag.
The solution is found after some googling. It turns out to be caused
by having a constructor instead of a init() method for the applet.
Change the constructor to the init() method solved the problem.
Second problem is the debugging output while interacting with the
applet. System.out doesn't show output in console while the webapp is
being deployed. I think only the logger can have output in this case.
I tried
ProjectOverviewerApplication app =
(ProjectOverviewerApplication)ProjectOverviewerApplication.get();
app.getLogger();
However, in deployment time, the applet requires the
ProjectOverviewerApplication classes files. I assume given that, it
probably would then requires the util.Logger classes. This is
definitely not a good solution.
I also am not familiar with logging, any good way to solve this?