An applet’s life cycle has four methods:
– init() when it is created
– start() when it is shown
– stop() when it is no longer shown
– destroy() for releasing resources
There is an old exception to this, that som browsers (Internet Explorer, possibly some other too) sometimes i9nvokes init() more than once. We had some problems with our applet which seemed to be caused by this. But when it made a fix for this, it did not help…
Some more investigation showed that actually Internet Explorer did not only invoke init() twice but also created two instances and invoked both init() and start() on both. This seems to happen the first time an applet is run, but possibly not the second. Very strange indeed….
What we should do to prevent this?
REF :
https://groups.google.com/group/google-web-toolkit/browse_thread/thread/b4c33ccfbe13c530
http://code.google.com/p/google-web-toolkit/issues/detail?id=5788
After a lots of time spending on this i found a solution of this. just use
<object>tag instead of for IE.it works fine. but I have not a clear idea how this happens.