Soft Frame Works

Printing Swing Trees

The JPDF allows you to print Swing Trees (JTree) on as many pages as required. The pagination logic ensures that tree rows are not bisected at the bottom page margin.

The options which control the print-rendering of a Tree Component can be specified programatically or from a specialized Page Setup dialog (pictured to the right). These options include:
  • The tree can be expanded as it currently is, to a specified level, or totally.
  • The tree can be scaled by a specified Scale Factor.
  • The tree can be printed without using its background color.
  • The selected tree cells can be highlighted.
  • The tree can be offset from the page margins and headers/footers.

Additional options can be used to specify the content of page headers/footers, and page framing.

The image below shows the first page of a Tree Component print-out.

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