Well, I'm confused by what your code is supposed to do. Let me see if I can step through it...
You have a JPanel backgnd, which you add a JLabel label1 to.
You have a JPanel panel, which you add...
Type: Posts; User: KevinWorkman
Well, I'm confused by what your code is supposed to do. Let me see if I can step through it...
You have a JPanel backgnd, which you add a JLabel label1 to.
You have a JPanel panel, which you add...
When you say "it doesn't overlap", what does it do instead? Does only one display at a time? Does the wrong one show up on top? Something else?
When posting code, please use the highlight tags....