Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Adding an Image to a JTextPane

 
ben riches
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
How can I insert an image into my JTextPane. After the text I already have there?


Thanks
Ben
 
Rian Fergusson
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hope this helps
http://javaalmanac.com/egs/javax.swing.text/tp_ImageText.html
[ February 11, 2004: Message edited by: Rian Fergusson ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic