The Greenfoot Programmers' Manual

These instructions will fill the entire background image with blue. A third option is to combine the two: You can load an image file, then draw onto it, and use the modified file as a background for the world: GreenfootImage background = new GreenfootImage("water.png"); background.drawString("WaterWorld", 20, 20); setBackground(background); ................
................