How to check for key being held down on startup in Java

后端 未结 6 551
时光说笑
时光说笑 2020-12-11 04:11

I\'m trying to write a resolution selection dialog that pops up when a program first starts up. To prevent boring the user, I want to implement the fairly standard feature t

6条回答
  •  情歌与酒
    2020-12-11 04:37

    So it appears that you can do this, but only for caps lock et al. Hence, I've switched to using caps lock for this purpose. Not perfect, but OK.

提交回复
热议问题