tags:

views:

62

answers:

3

how can i make a client able to send smilies to other clients?

+4  A: 

You can just search for the smiley character sequences on the receiving end and replace them with an image of the smiley before you display the message.

Bill the Lizard
+1  A: 

Smileys are just pieces of text that gets rendered as an image by the client app e.g. ":)" or "[smile]". Basically what the client does, is search for these in the message and replaces them

pablochan
And this can get annoying when sending code snippets.
Hamish Grubijan
A: 

ok i found it. i can only set the HTMLEditorKit as my JEditorPane editorKit. then it can understand the html tags :))

samuel