Set background Image to a JPanel
Can someone please tell me how can I put a background image to a JPanel?
I tried adding a JLabel to the panel (same size as the panel) and add other buttons on top of it. But that does not work.
Can someone else have other ideas?