Sometimes I struggle with what seems like it should be SIMPLE!
I am trying to create a background image for my plugin using the following code and it’s not working - I get a BLACK background and the rest of the graphics (text, etc.) are scrambled all over the window.
Your image might not even get loaded because you have the single \ characters for the file name in the source code. On Windows you should use \\ or / instead.
Also it’s not a great idea to load your image over and over again at each paint call. It would be recommended to have the Image instance as a class member variable and load the image from disk for example in your GUI class constructor.