>:I know how to print JComponents (JTree, JTable) but on one page and the rest
>:of component is just cut off. How can I devide some component on four pages,
>:for example?
Since you already know how to print, then you know about the imageable
area of the (virtual) paper you're printing to. If you want to stick to
one page, you do some math and scale your printing to the right size.
If you want to print multiple pages, you've got two problems to solve:
first, you have to figure out the page counts and so forth beforehand,
since the printing APIs are going to request a page number; next, for
each page that could get printed, you'll have to do the math to get the
appropriate area of the component being printed and provide the
necessary code to respond to the print() call when it's received.
= Steve =

Signature
Steve W. Jackson
Montgomery, Alabama