Listings
- Listing 1. Modification of the SimplePicture
class.
- Listing 2. Beginning of the class named
Prob07Runner.
- Listing 3. Beginning of the constructor.
- Listing 4. Display the initial image.
- Listing 5. Display the butterfly at 50-percent
opacity.
- Listing 6. The setOpacity method.
- Listing 7. The drawPictureOnPicture method.
- Listing 8. Begin the registration of an event
handler on the slider.
- Listing 9. Draw the butterfly and repaint.
- Listing 10. Complete listing of Prob07.