hello ,
i would like rto ask how to send formatted text, like italic , font
size, blah blah
from one computer clientt o client like chat programes , i l know to
send plain text, i their ways to send formatted text , i think may be
html format but i need more solution please...
islam
Andrew Thompson - 14 Mar 2008 13:03 GMT
> ...i think may be
> html format but i need more solution please...
RTF
Word format
PostScript format
PDF
usenet 'format' (only provides
*bold* /italic/ and _underline_ )
custom format (you design it)
...
--
Andrew T.
PhySci.org
Lionel van den Berg - 14 Mar 2008 14:19 GMT
> hello ,
> i would like rto ask how to send formatted text, like italic , font
> size, blah blah
> from one computer clientt o client like chat programes , i l know to
> send plain text, i their ways to send formatted text , i think may be
> html format but i need more solution please...
Most swing components support html, so it should be pretty easy!
Mark Space - 14 Mar 2008 16:59 GMT
> hello ,
> i would like rto ask how to send formatted text, like italic , font
[quoted text clipped - 4 lines]
>
> islam
HTML or XML would likely be the easiest and most portable.
You might want to design a class that provides the features you want
(like font style, weight, size, etc.) then serialize that with an
XmlEncoder. Trying to use a class for serialization that wasn't set
aside especially for that purpose can impose sever limitations on your code.
<http://java.sun.com/developer/technicalArticles/Programming/serialization/>
islamelnaggar - 17 Mar 2008 09:12 GMT
> > hello ,
> > i would like rto ask how to send formatted text, like italic , font
[quoted text clipped - 13 lines]
>
> <http://java.sun.com/developer/technicalArticles/Programming/serializa...>
thank you for u reply , but it's for chat application , so i will
serialize ,then unserialize data again and send over network , i think
it will be heavy-weight ,
any anther suggestion !
Thanks
islam