dcsimg
Saving Text Properties
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   surya_pochanapeddi
Posted On:   Thursday, June 13, 2002 07:37 AM

I have a swing application with a JTextArea in it.
I will be setting different fonts for the JTextArea depends upon the requirement.Now i want save the text from the JTextArea in to a doc/txt file with the same font properties.when i use normal getText() and writing it using PrintWriter Object
it is preserving the font prperties(style,size etc).


Pl help me with a small code sample.

Regds


surya

About | Sitemap | Contact