Hi,
Thank you for these solutions. i come with a different issue now. i wish to save the calendar onScreen and not the one on a headless server as before here. the issue i come across on is that , the calendar uses the JPanel bounds so i cant use calendar bounds.
I know i can use this line to save a full calendar image.
calendar.createImage(false)
this line gets an image of the whole calendar and its resources, however my goal is to save the image on different pages and for that i could use this line to know where to break page not cut the lane in half.
double hm = calendar.getElementBounds(CalendarElement.ResourceViewCell,i).getMaxY();
this time it doesnt work because its within JPanel bounds, cant acces all the elements bounds outside the panel
In short, i want to grab the full image generated by the calendar and cut multiple sub images from it, for that i need to know where to cut the lanes correctly. you can notice in the picture, all lanes outside the panel are 0
Cordially