0

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

2
Contributors
2
Replies
3
Views
9 Years
Discussion Span
Last Post by cms271828
0

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

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.