Hello Friends, Thanks for u'r replies.But it didn't work well.Let me tell what i need clearly. This is how i set text for JTextPane. jTextPane1.setText("<html><head></head><body style='line-height:30em'>This is first line.<br>This is second line.<br>This is thrid line.</body></html>"); But this dosen't reflect any changes.But the content reflects very nicely in IE.What should be done to make it reflect the line spacing between two lines in this code. Pl.. help me out as soon as possible. Excepting u'r replies, Sonara.
Are you talking Netscape 4.x ? Your HTML works in IE5 & Netscape 6
I have seen things you people would not believe, attack ships on fire off the shoulder of Orion, c-beams sparkling in the dark near the Tennhauser Gate. All these moments will be lost in time, like tears in the rain.