File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Adding an Image to a JTextPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Adding an Image to a JTextPane" Watch "Adding an Image to a JTextPane" New topic
Author

Adding an Image to a JTextPane

ben riches
Ranch Hand

Joined: Nov 08, 2002
Posts: 126
Hello All,
How can I insert an image into my JTextPane. After the text I already have there?


Thanks
Ben
Rian Fergusson
Greenhorn

Joined: Feb 03, 2004
Posts: 8
hope this helps
http://javaalmanac.com/egs/javax.swing.text/tp_ImageText.html
[ February 11, 2004: Message edited by: Rian Fergusson ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Adding an Image to a JTextPane
 
Similar Threads
JTextPane inside JScrollPane
Images
addMouseListener to JFrame
Word wrap and other issues with JTextPane
JButton and opening new window