• Post Reply Bookmark Topic Watch Topic
  • New Topic

adding smilies to TextArea/TextField

 
swapnil dey
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi guys
can anyone help me in adding a to a TextArea or any other TextComponent for that matter
thanx
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JTextPane has an insertIcon(Icon icon) method. Perhaps you can start by looking there.
 
swapnil dey
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanx Paul,
i did find a soln to the problem i asked, plus got a hint on storing text with different formats within a TextComponent
 
gautham kasinath
Ranch Hand
Posts: 583
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Mr. Dey could you share how you got round the problem of displaying smileys in JtextPane.. well I am caught up with the same..
Tanx
Regds
Gautham Kasinath
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!