Skip navigation
OptraSystems
Currently Being Moderated

Retaining labels on JPanel as text while generating PDF

Feb 22, 2010 2:11 AM

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.

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points