• Post Reply Bookmark Topic Watch Topic
  • New Topic

want to display word and excel sheets in JTEXTPANE

 
aditya parvatam
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi any one here to help me out with this
-->I am trying to display an excel sheet or word file in JTextPane but not finding the correct way to do it.
Using POI.jar iam able to traverse to excel but dint find a way to display it in JtextPane or Jtext area.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
POI is an API to read and write those file formats; it has no facilities for displaying them. I'm not aware of any Java library that can do this.
 
aditya parvatam
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes POI does not have any functionality to do so
but how i can display these things using swings
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if you can read it, why not a JTable to display it
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!