🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: HTML codes are not correctly displayed in JTextPane

#12019
From: Max Polk
Date: Mon, 08 Mar 1999 00:00
18 lines
1443 bytes
> > I am trying to do some help files in html format, to show them with a
> > JTextPane. I created an html file with netscape, but JTextPane does not
> > a good job at displaying it.    ; and other codes that begin with & are
> > shown (the code is shown). Some of this & codes are accents, that are
> > sometimes correctly displayed (but in uppercase), and sometimes are not
> > displayed.

The implementation is quite bad.  Things as simple as horozontal rules 
with a percent sign <HR=50%> and bold text <B> don't work.  You end up 
needing an HTML component that sucks up the better part of a megabyte 
that users are presumably supposed to download if it's an applet.

Yeah, right!

The funny thing is that the Swing examples show bold text and so forth.  
If only somebody took the time to parse the HTML and implement it with 
native components for a total size of something like 20K so it can be 
stuck into an applet.
Technical Details
Message-ID: <MPG.114a536c317e4b559896c3@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36B8DD42.B0540845@iname.com> <36E042E2.5348A7B7@gsc.gte.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,c77cb1aed0fe3c5c
X-Google-Attributes: gid111d45,public
From: none@none.com (Max Polk)
Subject: Re: HTML codes are not correctly displayed in JTextPane
Date: 1999/03/08
Message-ID: <MPG.114a536c317e4b559896c3@forums.borland.com>
X-Deja-AN: 452762950
References: <36B8DD42.B0540845@iname.com> <36E042E2.5348A7B7@gsc.gte.com>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing