🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #3246

Re: Rich or poor?

#3246
From: Carl Smotricz
Date: Sat, 28 Mar 1998 00:00
51 lines
2335 bytes
Chris,

there is a (reasonably) finished, complete solution to your .rtf
requirement available. The Swing 1.0.1 classes from Javasoft include
components and classes that implement styled text in a very generic
and flexible way. HTML and RTF are directly supported, and there are
some (vague) pointers on how to roll your own document type support.

Go to www.sun.com and find your way to the Swing Connection (I always
get lost looking for it, bookmark it when you find it!) and download
their JFC 1.0.1 (which includes all that Swing stuff). If you get the
right files, you will get the source for a reasonably working RTF
editor.

There's no telling if you can integrate Swing into your project within
2 days and get it working satisfactorily, but it's worth a shot.

Another solution is a set of text handling classes by a Japanese fellow
by a name that starts with K. His package is called KFC (K...'s
Foundation Classes) and it's available for free download from
gamelan.com . His claims sound good but I've never looked at it, so
you're on your own here.

Hope this helps,

Carl
-----------------
Chris Perks wrote:
> 
> I've got 2 days before a demo and I urgently need help on the following:
> 
> 1) We need to display Rich Text Format file (.rtf) on a text
> area in a frame. It seems only plain (.txt) is supported. What can I do?
> 
> It needs to look good.
> 
> 2) How to open and save .rtf and .doc? I need to offer paste and save as
> options.
> 
> 3) We need to print .tif map images, I've done the usual get toolkit
> etc, but
> the output is a nonsense.
> 
> I hope someone can help, the books don't cover this.
> Cheers,
> Chris Perks

-- 
The cheapest, fastest and most reliable components of a computer
system are those that aren't there. -- Gordon Bell
Technical Details
Message-ID: <351CD341.878@ipf.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3503A43E.D5A0A41D@connection.com.hk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,62c54c57f3fe1957
X-Google-Attributes: gid1089d0,public
From: Carl Smotricz <carls@ipf.de>
Subject: Re: Rich or poor?
Date: 1998/03/28
Message-ID: <351CD341.878@ipf.de>
X-Deja-AN: 338543463
Content-Transfer-Encoding: 7bit
References: <3503A43E.D5A0A41D@connection.com.hk>
Content-Type: text/plain; charset=us-ascii
Organization: <disorganized>
Mime-Version: 1.0
Reply-To: carls@ipf.de
Newsgroups: borland.public.jbuilder.java.api