Debugging an applet - lost for solutions
I have an applet which sometimes freezes and I'm trying to find out why.
In Linux, I've located the problem to disabling a button. More precisely, Canvas.setEnabled(false). If I comment that out, the applet runs ok (but the button is still active of course, which it is not supposed to be).
When I run the same applet in Internet Explorer, it freezes anyhow, whether or not the button is disabled. The applet window freezes, as does the console (to which no error message is written) and the browser.
In no case does the CPU usage go up, so it does not seem to be an infinite loop that is causing the problem.
I'm somewhat lost as to how I can continue debugging this applet. Any suggestions? Any ideas that could point me in a constructive direction are very welcome!