In my project, i am having a JTextPane and in this JTextPane i am adding Images(Different GIF images). when i am reading the values in this JTextPane(For storing in the database) using getText() method i am getting only text values, in place of images i am getting blank space .I want to read the images also OR i want some mechanism to represent these images and text so that i can store these data in a database table for future reference