Re: Background Image?????
In your paint/paintComponents method, try to use XOR operations.
You may also try to use JLayeredPane. Place your background image
on one pane and your other images on other panes.
"PaWz!" <firstname.lastname@example.org> wrote:
>Hi, I am new to Java Programming and am trying to develop a simple maze
>game where a character is moved over a background image.
>My question is, how do I program so the background image stays and doesn't
>refresh each time the player is moved?
>I have programmed the game previously in C++ and the background image doesn't
>refresh, so I am wondering how I can achive this effect.