开发者

Do JMenuItem Accelerators function properly when in a frame opened by another frame?

I have one frame that opens up another frame (editor). Most of the menu accelerators don't work w开发者_如何学编程hen opened this way, but when I run the editor frame standalone, they do work. Should it work?


It turns out that when you open one frame from another in java you have to start another thread or the keybindings don't work right - they all get caught by the first frame. This makes sense.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜