Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

RTF Files

Posted on 1998-04-30
1
185 Views
Last Modified: 2010-04-16
Is it possible to, and if so,  how do I read an RTF (rich text format) file into a java application.  I want to do this with the same results as if it were a text file.

Thank you.
0
Comment
Question by:jreilly
1 Comment
 
LVL 1

Accepted Solution

by:
dufort earned 50 total points
ID: 1220299
Use Swing's RTF package. It's in the Swing (JFC) extension of Java, available for free download at Sun (www.sun.com). You have to use JDK 1.1.5 or more.

However, I don't think this package currently support RTF files containing images or embedded objects. It's text only, as fot the HTML package.

0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
jdbc error in jsp application 20 63
Opening PDF on button click and fill new document 2 47
Why my table column Id is not passed to java object? 4 44
jsp error 6 26
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question