Results 1 to 3 of 3
  1. #1
    ikurtz is offline Member
    Join Date
    Apr 2010
    Rep Power

    Question Java JTextPane Save

    i was trying to do some simple text formatting using JEditorPane but then as knowledge grew i found JTextPane easier to implement and more robust.

    my query is how do i save the formatted text in JTextPane to file? it should be RTF or HTML or other.. as this file is not opened by the application again.

    it is a chat history text file with formatted text.

    thank you.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

  3. #3
    ikurtz is offline Member
    Join Date
    Apr 2010
    Rep Power

Similar Threads

  1. How can i save the data Internally(auto save)
    By Rama Koti Reddy in forum AWT / Swing
    Replies: 2
    Last Post: 11-01-2010, 09:31 PM
  2. How to track Save And open a Junit test Java file?
    By jaydip.biswas in forum Eclipse
    Replies: 0
    Last Post: 03-15-2010, 07:44 AM
  3. Java applet+save to file
    By mattu36 in forum Java Applets
    Replies: 12
    Last Post: 06-24-2009, 05:41 AM
  4. save text into xml in java
    By Omarero in forum New To Java
    Replies: 8
    Last Post: 10-26-2008, 02:19 AM
  5. How to revoke permission to save or copy a PDF file in java
    By priyanka.dandekar in forum Advanced Java
    Replies: 11
    Last Post: 10-05-2008, 07:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts