Java: I can't interact with my JFrame
Posted
by Wooooo
on Stack Overflow
See other posts from Stack Overflow
or by Wooooo
Published on 2010-06-17T03:06:36Z
Indexed on
2010/06/17
3:13 UTC
Read the original article
Hit count: 293
Hi,
I have a java application (1.4.2) that uses 2 JFrames.
The first is Modal=true and appears on top of the second JFrame.
The first JFrame allows the user to "open" a file. Once the file is ready to be displayed, the JFrame is set to setModal=false, and this.dispose() 'd of.
This leaves only the second JFrame on the screen. However, I can't interact with it. The code does not throw any errors and appears to run perfectly fine. BUT I can;t interact with the second JFrame. The ONLY way to exit the JFrame is to hit the stop button on my development envirnment. I literally cannot stop the JFrame by clicking the close button, because I can't even interact with that portion of the JFrame.
Any thoughts?
© Stack Overflow or respective owner