从 JFrame 捕获所有击键
所以我在输入映射和击键方面遇到问题,因为它们不起作用。所以我想捕获框架内按下的所有按键事件,无论它们是在哪个组件上生成的。
请不要给出有关键绑定的建议,因为我已经使用过并发现它没用:(
提前感谢您的帮助:)
So I am having problem with InputMap and Keystrokes as they are not working. So I want to capture all keyevent pressed inside frame doesn't matter on which component they are generated.
Please don't give suggestions about key binding as I had already used and found it useless :(
Thanks for help in advance :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论