i ve got a problem in my chatting software.
let me explain the problem :-
1:- i m using JTextPane for both side
2:- communication is by using TCP/IP Socket so only
string is passed between to computer not any datatype.
3:-to add any string in document i know only one
method
insertString(int,String,AttributeSet);
4:-by if i know attribute set of any document any
string i can get the font or any thing else
5:- but this attributeset can not be send if we send
it then we ll have to convert it into string and if we
want to use it than we again convert it into
Attributeset.and i dont know how to convert string
into attribute set.
plese tell me how we can send font from one
application running on one computer to other
application running on different computer.and
communiction is based on string.