开发者

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

开发者 https://www.devze.com 2023-02-06 06:55 出处:网络
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 i

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

精彩评论

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