Listing 6 calls the method named setAllPixelsToAColor
As you might expect,
picture.setAllPixelsToAColor(Color.BLUE);