I’m working with this java code and I would like to know how to change a displayed image with an input key. For example, change my currently display from im[0] to im[2]
1 Like
You should take a look at how the keyPressed() function works.
here is a reference.
1 Like