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?