The code used to accomplish the modifications described above is shown in Listing 1.
Listing 1. Modification to load a jpg file by default. |
---|
// create the background picture //picture = new Picture(width,height); picture = new Picture("Prob01.jpg"); picture.addMessage("Dick Baldwin",10,20); |
Note that one original statement was disabled
File: bb.htm | [Next] | [Prev] |