Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要防止我的应用程序在用户持有触发序列时,在该操作与按键出价相关联时一遍又一遍地执行相同的操作。
我需要模拟实现 KeyListener#keyReleased 可以实现的相同行为,并仅在用户释放序列时执行相关操作。
有没有办法做到这一点?