Solved

RTF Files

Posted on 1998-04-30
1
173 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

746 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now