How do I make arrow keys move a drawn object on a drawn path (for example drawPolygon()
) right and left in a JFrame
?
Asked
Active
Viewed 24 times
1

Andrew Thompson
- 168,117
- 40
- 217
- 433

perdan
- 11
- 1
-
What did you try? [How to ask....](https://stackoverflow.com/help/how-to-ask). – George Z. Nov 23 '19 at 20:41
-
see ho to create key bindings: https://stackoverflow.com/questions/17984912/java-key-bindings-not-working/17984949#17984949 (and learn how to use search ^_^) – Martin Frank Dec 18 '19 at 05:52