So, you want to have a Print Preview functionality in your Java Swing GUI.
Do it yourself:
- Sergey Groznyh explains: Generating Print Preview of Swing Text Components
- Swing book, chapter 22 on printing, see section 22.3 on print preview, not only for text!
- Printing Swing Components in Java 1.2, not just text, any components.
Or get a component:
- A list of links on java2s
- Java Print Dialog Framework from Soft Frame Works
- Print and Preview products list at ComponentSource
BTW, Swing book is pretty good.