I created a JDesktopPane inside of which there is a menu. When user clicks on the menu, a JInternalFrame appears. The JInternalFrame carries data in a JTable and also has some JButtons
What I want to do is to prevent losing focus from JInternalFrame when user tries to click on the menu. The user has to close this JInternalFrame first.
I've read some interesting articles that proposing to use modal JDialog. But as far as I know, they cannot be that customized (or can?). So, could anyone please help me on this? Thank you in advance