I’m trying to bind the Windows key using Java and I’m failing.
I can bind the Alt or Ctrl key with something else.
But, if I want to use the Windows key, I can’t get it.
Is it possible?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It worked for me I used following constant from KeyEvent class.
I implement my KeyListener method in following way and it worked (I am using ubuntu 10):