HI, I have a JTextPane, into which i can insert icons using insertIcon(); But how do i retrive ithe icon from the JTextPane. What i mean to say is, suppose the JTextPane contains only text, then i can retrive the text in it using getText() method. But if the JTextPane contains an icon, then how do i retrive it. To make it more worse, if the JTextPane contains text embedded with icons, how do i retrive everything inside the JTextPane?? ...kindest regards ..saj
subject: How to retrieve an icon from JTextPane ??