Home Segments Top Top Previous Next

Chapter 47:

How to Bring Images
into Applets

This chapter, in concert with Chapter 48, Chapter 51, and Chapter 50, enriches the application about which you learned in Chapter 46 by adding an image, a marqueelike display, a form, a custom-tailored layout manager, and a pull-down menu.

In this chapter, in particular, you learn how to move information from image files into your applets. You also learn that the movement of image files is handled by a separate thread—an arrangement that enables your application to present a snappy look and feel, even though the movement of image files may be slow.

When you have completed this chapter, the movie application about which you are learning will have not only a rating meter and a displayed list of movies, but also an image display for those movies for which image files are available.