🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: HTML codes are not correctly displayed in JTextPane

#12242
From: Mike Rozlog
Date: Wed, 03 Feb 1999 00:00
17 lines
1168 bytes
Use the JEditorPane instead of the JTextPane.

Mike

P.S. For an example check out Swing 1.0.1's example in:
\JBuilder2\samples\java\swing-1.0.1\Metalworks


C. Javier Castro Pe�a wrote in message <36B8DD42.B0540845@iname.com>...
>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: <79b7h7$juu11@forums.borland.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: "Mike Rozlog" <javateacher@consultant.com>
Subject: Re: HTML codes are not correctly displayed in JTextPane
Date: 1999/02/03
Message-ID: <79b7h7$juu11@forums.borland.com>
X-Deja-AN: 440467471
References: <36B8DD42.B0540845@iname.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing