[SOLVED] String to KeyEvent
843807Jun 1 2010 — edited Jun 1 2010My application is listening to KeyEvent.VK_F11.
Now I want to put F11 in a properties file, but is it possible to get the KeyEvent from a String for example: "F11"?
Is there a method for this or should iterate through the possible KeyEvents?
Edit: I solved it by using KeyStroke instead of KeyEvent