A Classic Example: Image Proxies

While conducting plant tours, the Oozinoz public relations manager wants to pause at one point to show images of previous exhibitions. Your design team decides to satisfy this requirement with a PC-based Java application with a Swing GUI. You might convert to a browser-based thin-client design in the future, but in any case, you can rely on Java's extensive support for loading, manipulating, and displaying images.

As you start constructing the application, realize that you will want to load some images only on demand. You might make clickable, thumbnail versions of larger images, but in the first pass, you decide to show prebuilt Absent and Loading… images. Figure 11.1 shows three screen shots of the system you ...

Get Design Patterns Java™ Workbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.