I am making a block breaker type game.
One panel houses the background, and one panel has the bricks, paddle, and such. and the other has the background. In my main class when I add the panels in this order:
add(new BrickBoard()); add(panelbg);
the background image shows up over top of the bricks, and when I reverse it to:
add(panelbg); add(new BrickBoard());
the bricks show up and the background is plain grey as per usual.
How can I fix this?
Edited 6 Years Ago by PhiberOptik: n/a