🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: HTML codes are not correctly displayed in JTextPane

#12003
From: Joseph T. Baysdon
Date: Fri, 05 Mar 1999 00:00
17 lines
1421 bytes
What version of the JDK are you using?  JDK1.2 supposedly has full support
for HTML 3.2, and I've had good success displaying various HTML tags in a
1.2  JEditorPane.  I must admit though that I've not tried the specific
codes (";" and "&") that you mentioned.  (Also, I've had some trouble with
incorrectly handled HTML tags in my applets, but my applications work
fine.)

"C. Javier Castro Pe�a" wrote:

> 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.
>
> What could be the problem?
Technical Details
Message-ID: <36E042E2.5348A7B7@gsc.gte.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36B8DD42.B0540845@iname.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,c77cb1aed0fe3c5c
X-Google-Attributes: gid111d45,public
From: "Joseph T. Baysdon" <joe.baysdon@gsc.gte.com>
Subject: Re: HTML codes are not correctly displayed in JTextPane
Date: 1999/03/05
Message-ID: <36E042E2.5348A7B7@gsc.gte.com>
X-Deja-AN: 451688074
Content-Transfer-Encoding: 8bit
References: <36B8DD42.B0540845@iname.com>
X-Accept-Language: en
Content-Type: text/plain; charset=iso-8859-1
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing