Is there any way to kee开发者_StackOverflow中文版ps focus of a JInternalFrame, I mean, always focused until it closed or showVisible(false) etc? I already search for a while but I only found a "temporary" focus, that is when you click another JInternalFrame (for example) the focus switched. Thanks.
Don't use a JInternalFrame for this. Use a modal JDialog.
Closing a modal JInternalFrame See the one by me (Mr. Zen)
精彩评论