Is there a way to update the display window when the user loads a new image?
问题 I am writing a program that loads an image(stack of images in one file) and do some operations on the image with the controls (buttons) and being able to load another image on the frame without having to change previous controls. The frame has a default window image at the start of the program. There is a button that loads a new image from the wanted directory. However the image never gets updated when the loadImage button is pressed. How do I get my frame to update the image window when a