Hi,
I have a JInternalFrame that I would like to display an image it, and then have components on that.
I have tried to put a bufferedImage in a class that I extend the JInternalFrame from, then, override the paintComponent.
Here is a line from that function (this is basically the only thing in it):
g2d.drawImage(background, 0, 0, this);
where this is the class of the extended JInternalFrame.
When I run this, it does not draw anything on the frame. I have also tried to replace the two 0’s with the position of the JInternalFrame, that did not work either.
Thanks for any help.