File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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?

Rian Fergusson

Joined: Feb 03, 2004
Posts: 8
hope this helps
[ February 11, 2004: Message edited by: Rian Fergusson ]
I agree. Here's the link:
subject: Adding an Image to a JTextPane
Similar Threads
JTextPane inside JScrollPane
addMouseListener to JFrame
Word wrap and other issues with JTextPane
JButton and opening new window