How do I improve the background image efficiency?
I am making a game that uses a thread to animate. When I repaint a large percentage of my CPU is taken up. I am assuming this has something to do with the large background image.
Firstly, is it better to use an Image or Buffered Image for the background in this case, keeping in mind that there are buttons and shapes overlapping it that get repainted regularly.
If there is no difference, would it help to draw the background onto a different graphics context, if that is possible and makes any sense.