I want to display variations of the same image in the same JFrame, for example display an image in JFrame, then replace it with gray scale of the same image.
You will have to repaint the JFrame whenever you update the image.
JFrame
Here is what a simple google on the topic brings up: (I use those tutorials for all my Java coding)
Java Tutorial: Drawing an Image