Hi, I have an application, that has a JFrame.
Added to the JFrame's contentPane is a JDesktopPane.

I use JMenuItems in the JMenu (in JMenuBar) to add, and then remove a JInternalFrame inside the JDesktopPane.

But now.. when I use any acclerator keys, to invoke JMenuItems, they don't work, its something to do with focus I think, but I don't know how to fix it.

Any ideas? Thanks

Would you mind post your code?

Code is too big to post, I think I've fixed it, I just use requestFocus() on the JMenuBar, after removing the JInternalFrame.