insertIcon does not work if i use default style doc in TextPane?
posted 16 years ago
Hi Guys, and specially deeksha if u read this one plz reply, i had used a multi colored textpane for the client part of chat application i had made- with a default style document in the constructor of the textpane and by chaging the attribute set we can change around the colors, as deeksha had suggested to me now i want to insertIcons in it for say smilies and all and there is method in textpane for that insertIcon but that does not work here maybe because ive used a different constructor rather than the default one? Could anyone give suggestions? Ill be thankful. Regards, Daman