Chapter 11 presents two demos, TranslucentPanel and ReflectionPanel The first one is an exercise for the reader showing why and when the user of a RepaintManager is necessary. The second one presents a component that can render real-time reflections of its children. The demo requires QuickTime for Java to add a reflection effect to a QuickTime movie streamed from the web. When QuickTime is not available, the demo reverts to regular Swing components.
Update: The final PDF of the book is available for purchase online \o/
Both screenshots below show what the demo looks like. As you can see, the reflection panel can be used with any component you fancy. All you have to do is
add() your component inside the panel and you’re done.