Article View: borland.public.jbuilder.java.swing
Article #12250Re: HTML codes are not correctly displayed in JTextPane
From: AsR
Date: Thu, 04 Feb 1999 00:00
Date: Thu, 04 Feb 1999 00:00
30 lines
1725 bytes
1725 bytes
If you are using applets I think that showDocument is the keyword to look for another way to do that. Hope this helps. C. Javier Castro Pe�a wrote in message <36B9CDBF.331DC903@iname.com>... >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:
<79g025$orf4@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<36B8DD42.B0540845@iname.com> <79b7h7$juu11@forums.borland.com> <36B9CDBF.331DC903@iname.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111d45,c77cb1aed0fe3c5c X-Google-Attributes: gid111d45,public From: "AsR" <fauna@inbrapenet.com.br> Subject: Re: HTML codes are not correctly displayed in JTextPane Date: 1999/02/04 Message-ID: <79g025$orf4@forums.borland.com> X-Deja-AN: 441191670 References: <36B8DD42.B0540845@iname.com> <79b7h7$juu11@forums.borland.com> <36B9CDBF.331DC903@iname.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Organization: Fauna Informatica Newsgroups: borland.public.jbuilder.java.swing