I want to set a background image for my JPannel which contains many JTextField and JButton (I used g.drawImage()), but the the components won't appear unless the mouse passes by.
I can't make a JPanel for every component because I have too many of them.
Can anyone please help or point me into the right direction?