Duplicate :
|
Load an applet on mozilla/firefox. The applet has certain awt components into it like button, textbox. Click on any of teh component to get the focus in that particulat component. Click on the other tab of the same browser (where there is a different page is loaded). Again come back to the same tab where our applet is loaded. You can see the focus is not on that component where it was before (brought by mouse click). The same is observed when the browser is minimized to the task bar and maximized back. In IE browser, the focus in this particular scenario works as expected. The focus still remains on the same component after the tab switch or minimize/maximize of browser.