开发者

Sending smilies with a java messenger application?

How can I make a client able to s开发者_StackOverflow社区end smilies to other clients?


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.


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


Ok, I found it. You set the HTMLEditorKit as my JEditorPane editorKit. Then it can understand the html tags.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜