🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: HTML codes are not correctly displayed in JTextPane

#12248
From: C. Javier Castro Pe�a
Date: Thu, 04 Feb 1999 00:00
23 lines
1611 bytes
I tested my html file with this example, and I see the same display
problems. It seems that the html interpreter of swing doesn't do a good
work whid &??? characters. How do they display html in jbuilder?
I thinkg I will have to try rtf ...

Mike Rozlog wrote:
> 
> 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: <36B9CDBF.331DC903@iname.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36B8DD42.B0540845@iname.com> <79b7h7$juu11@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,c77cb1aed0fe3c5c
X-Google-Attributes: gid111d45,public
From: "C. Javier Castro Pe�a" <jcaspen@iname.com>
Subject: Re: HTML codes are not correctly displayed in JTextPane
Date: 1999/02/04
Message-ID: <36B9CDBF.331DC903@iname.com>
X-Deja-AN: 440748583
Content-Transfer-Encoding: 8bit
References: <36B8DD42.B0540845@iname.com> <79b7h7$juu11@forums.borland.com>
To: Mike Rozlog <javateacher@consultant.com>
Content-Type: text/plain; charset=iso-8859-1
Organization: Univerity of Kansas
Mime-Version: 1.0
Reply-To: jcaspen@eagle.cc.ukans.edu
Newsgroups: borland.public.jbuilder.java.swing