I have a Java swing application where I’ve created an ImageIcon with a picture and displayed it to a screen. I did that by loading a URL as an ImageIcon and placing it in the Java Swing window as a label.
Now I need to place ‘markers’ on the image with other images.
In context: Place a picture of an eye on someones face over their eye.
I’d appreciate anyone who can point my in the right direction or give me some SSCCE code to work from.
What is the best manner to place ‘markers’ on an ImageIcon Java Swing?
The basic concept is, you need a temporary image onto which you can paint the master/base image and the marker.
BufferedImage. This would typically be the same size as the master image, but doesn’t have to be.BufferedImageBufferedImageImageIconusing theBufferedImageImageIconto the label…