try {
                BufferedWriter out = new BufferedWriter(new FileWriter
("a.doc"));
                out.write("<html><b>String</b></hrml>");
                out.close();
                } catch (IOException e) {
                        System.out.println(e);
                }

On Jun 1, 11:40 am, "Shubha Roy" <[email protected]> wrote:
> Hi
> I have created a .doc using printStream, which is working fine. Can I
> do some simple formating like making the text bold. how do i go about
> it
>
> Shubha Roy

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to