Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is it possible for J2TreePrinter to print my JTree so that it paginates horizontally?

0
Posted

Is it possible for J2TreePrinter to print my JTree so that it paginates horizontally?

0

No. There is no natural place to break a JTree horizontally. Hence, J2TreePrinter automatically performs a shrink-to-fit operation to make your JTree fit within the available page width, then it paginates the resulting JTree vertically as needed over multiple pages. If you are willing to paginate your JTree broken on pixel boundaries, you can use J2PanelPrinter in TILE mode to print your JTree across multiple pages horizontally (but it will be broken vertically on pixel boundaries as well, rather than row/node boundaries as in a J2TreePrinter).

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.