Scenario: I have an applet running on HTML page. The applet execution in the method is in a loop. So, applet loads in windows processes list and doestn't stop working even , after the browser has been closed.
Best Regards, Waqas Tariq Dar
posted 8 years ago
You should put code in the "stop" method that causes the loop in the start method to terminate. And, of course, the start method should not be long-running; it should terminate quickly. If you need to keep code running, start a thread.