Soft Frame Works

Printing Multiple Swing Components

The JPDF allows you to compose and print complex documents containing a sequence of Swing components arranged back-to-back.
  • Any sequence of JTable, JTree, JTextPane, JTextArea, JEditorPane, and JPanel can be arranged and printed.
  • The components to be printed do not have to be displayed on the screen; they can be created solely for printing.
  • You can specify the vertical gap between adjacent components, and control the pagination of the components in the list.
  • You can specify that a horizontal line be printed in the gap between adjacent components.

The images below show the first two pages of a document containing a JPanel, a JTable, and a Text Component.


© Copyright 2003-2014 Soft Frame Works. All rights reserved. Privacy Policy   Site Map