I want to add a picture in the background of my entire GUI frame, and then put other components (buttons, text fields etc.) over it. Is it possible with Java Swing?
My question is mainly about making top-level () components sit on the picture in the background (as the title suggests). That is getting a kind of hierarchy in which there is a container at the bottom, an image in the container (stretched to fill the container) and then buttons sitting on it.
Is there a way to do that? Any tips or suggestions will be greatly appreciated.