I was wondering how you can switch the picture being loaded into a buffered image when an action is called?
For example, if the buffered image is currently loading "Hand.png", I want to be able to press a button or a key, and have it load "Foot.png" instead. My action listeners and buffered image are set up correctly, I'm just unsure of the syntax required to change a BufferedImage
.