• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

jEdit display RTF

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
All

I'm stuck. In a swing app - I need to work with plain text files off the disk, but want users to be able to use RTF while they work with the file. Then, on the save to the disk, I have to convert the file back to plain text - it's okay that the RTF gets blown away - they don't care - the RTF is only for convenience while the file is displayed in the editor.

I got jEdit working in my swing app, but I don't seem to be able to tell it that the Content Type is rtf (I convert it to rtf when I read it in off the disk).

Anyone know how ?

Thanks for any help...
Amy
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How about posting some SSCCE code? When you mean jEdit, do you mean jEdit?
reply
    Bookmark Topic Watch Topic
  • New Topic