0

So recently I'm working on a project where I have to bind some keys with jbuttons to perform a respected action. But I'm getting an error and I'm not sure what it is and how to solve it. Here is the screenshot of my code and error

BackSlash
  • 21,927
  • 22
  • 96
  • 136
Jimmy
  • 1
  • 1
  • 1
    Don't post code as images. Post the relevant code and error as text. BTW the error is clear, you didn't import the `KeyEvent` class – BackSlash Jun 24 '17 at 08:23
  • Well, I don't think if texts are better than images. When images can be used to show the exact error and code at the same time than what can be better than that. – Jimmy Jun 25 '17 at 16:06

0 Answers0