Win a copy of Murach's MySQL this week in the JDBC and Relational Databases forum!

Amelie Cornelis

Greenhorn
+ Follow
since Jan 13, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Amelie Cornelis

Hello,

I would like to print my JTree on several pages. I have implemented both Printable and Pageable, but only the first page prints correctly. The second page is just a repeat of the first one.

In my tree class:


In the applet that contains my tree:


The commented lines were supposed to shift the display to the pn-th page, but it does not: the nodes displayed on page 2 are at the bottom of the page, and if you put page 1 and 2 on top of each other and look by transparence, you can see it just continues to print as if on continuous piece of paper...

Thanks for any help,
Amelie.
19 years ago