Keep focus of JInternalFrame
Is there any way to keeps 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.