This content has been marked as final. Show 3 replies
probably, but you will have to elaborate a little more, I am afraid I cannot quite understand what you want.
I've done this. Easiest way: Make a component that overrides JPanel. Have it paint the image into itself during the "paint(...)" function. Then set that component to be the content pane of a JFrame via "frame.setContentPane(picturePanel);". From there use the JFrame as normal.
The words from your topic "background image" would be two great keywords to search the forum with. Try it. You'd be amazed how many times this question has been asked before.
Get in the habit of searching first and asking questions second.