PRB: Browser Hangs When You Call dispose() on AWTModal FileDialog Object (318175)
The information in this article applies to:
- Microsoft virtual machine 38xx Series, when used with:
- the operating system: Microsoft Windows XP
This article was previously published under Q318175 SYMPTOMS
If you call the dispose function on a Java FileDialog object in Windows XP, the browser may stop responding (hang) at random times. For example, suppose that you create a simple Java applet with a button that opens a File dialog box when you click it. If you repeatedly click the button to open the File dialog box and then click Cancel to close the File dialog box, your browser may hang.
CAUSE
This problem occurs if the current thread that starts the File dialog box is the event dispatch thread.
RESOLUTION
Create a new thread to display the File dialog box. Do not use the default event dispatch thread to display the File dialog box. Refer to the "Steps to Resolve the Problem" portion of the "More Information" section for implementation details.
REFERENCESFor additional information, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
193877 HOWTO: Make Your Java Code Trusted in Internet Explorer
179543 HOWTO: How Do I Enable Test Certificates on a Client Machine?
Modification Type: | Major | Last Reviewed: | 10/20/2003 |
---|
Keywords: | kbprb KB318175 kbAudDeveloper |
---|
|