Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Retaining labels on JPanel as text while generating PDF

Avatar

Level 1

Hi,

Our application is having a JLayeredPane on which user can create multiple components, draw arrows,text,etc. In short it is like bitmap. On this JLayeredPane, we can create tables and have some data into it. When the user generates PDF this data must get copied, to excel sheet or notepad for further analysis. Now the problem is that whenever we try to generate PDF with the image of panel as I am able to get BufferedImage of the entire JLayeredPanel, we are not able to fetch data from tables as this is the image getting inserted into PDF. So can any one suggest me about how to proceed?

Thanks.

0 Replies