I have a class that extends JFrame, and I have decided to create an opening panel, a JPanel with 4 JButtonss which is added add(initPanel) in the constructor.
However, ideally a background image would help the JFrame look cleaner and decorated.
Someone on here suggested I use setContentPane(), and this in fact works.
However, the image appears and all the buttons/text disappear, and I can't get them to show.
I am wondering if there is any way to stack layers / JComponents within a JFrame, so I could have my image in the background and my JPanel in the foreground.