Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

insertIcon does not work if i use default style doc in TextPane?  RSS feed

 
daman sidhu
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!