I want to display image A first then image B overlapping A(as if a paper image B is placed overlapping ly on paper image B) in Jframe.This order changes frequently. Sometimes B on top, sometimes A on top. How to write Java code to do this. I am a java beginner. I was a VB programmer.
In VB I use: example – for B on top of A
PaintPicture(A, 0, 0)
PaintPicture(B, 100, 300)
Please can anyone help?
To find equivalent of VB6 PaintPicture method in Java code which forces the programmer to link each painted image with an object, restraining this freedom of – paint anywhere you want – no laboring on linking object with names with images displayed
Amitava Guha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.