šŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #10335

Re: Info about JEditorPane + HTMLEditorKit

#10335
From: sean
Date: Tue, 19 Oct 1999 00:00
25 lines
1642 bytes
Check out OReilly Java Swing chapter 24
There is also a styled text editor example in /jdk1.2/demo/jfc/stylepad
I managed to modify this code so that it saves the styled content as html
using the HTMLEditorKit write method (it seems a it flaky though) but I cant
get it to do the reverse, i.e. read and render HTML.
If you have any luck let me know as I am also trying to write a styled text
editor which will save and read contents as HTML.
cheers
sean
sean@qss.co.uk
sean@scorpio.freeserve.co.uk

Rene Leonhardt <rld@gft.de> wrote in message
news:7ssggq$lbr$1@proxy.st-georgen.gft.de...
> Iļæ½m writing a WYSIWIG-HTML Editor and have found the HTMLEditorKit but it
> seems to be very complex.
>
> And what about CSS?
>
> Does anyone knows where I can get infos or samples?
>
> With kind regards
> Rene
>
>
Technical Details
Message-ID: <7uia1c$ko$1@news6.svr.pol.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7ssggq$lbr$1@proxy.st-georgen.gft.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,ad5d63b1d2eb8eb5
X-Google-Attributes: gid111d45,public
X-Google-Thread: 10fd6d,ad5d63b1d2eb8eb5
X-Google-Attributes: gid10fd6d,public
From: "sean" <sean@scorpio.freeserve.co.uk>
Subject: Re: Info about JEditorPane + HTMLEditorKit
Date: 1999/10/19
Message-ID: <7uia1c$ko$1@news6.svr.pol.co.uk>
X-Deja-AN: 538012666
References: <7ssggq$lbr$1@proxy.st-georgen.gft.de>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
X-Complaints-To: abuse@theplanet.net
X-Trace: news6.svr.pol.co.uk 940354412 664 62.136.51.15 (19 Oct 1999 17:33:32 GMT)
Organization: Customer of Planet Online
X-MSMail-Priority: Normal
NNTP-Posting-Date: 19 Oct 1999 17:33:32 GMT
Newsgroups: borland.public.jbuilder.java.swing,comp.lang.java.gui