• Post Reply Bookmark Topic Watch Topic
  • New Topic

which comp need to use???  RSS feed

 
Shashidhar Yarabati
Ranch Hand
Posts: 175
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I want to read a Microsoft word file with images in to one component.
Somewhat I succeeded with JTextArea, JTextPane by showing the same content which are from word file, but I couldn't able to place image in to those components.

I want to show the data+images which are there in word file.

Which component suits my requirement?

Eagerly waiting for your response...
 
Brian Cole
Author
Ranch Hand
Posts: 936
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Shashidhar Rao:
Somewhat I succeeded with JTextArea, JTextPane by showing the same content which are from word file, but I couldn't able to place image in to those components.


JTextPane has an insertIcon(Icon) method. Does that not suit your needs?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!