🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

JEditorPane setPage problem

#470
From: Vander
Date: Wed, 06 Jul 2005 10:15
9 lines
1275 bytes
In my tests I found that JEditorPane.setPage( URL ) does not work for 
urls of the "file:/" protocol. Can anybody confirm that?

No page is rendered. Interesting enough, when I load the content from 
the *same* URL, convert it into a String and use JEditorPane.setText( 
String ) the page displays perfectly.

Is this another prove of the poverish implementations of Sun?
Suggestions for relieve are welcome!
Technical Details
Message-ID: <42cbaf1e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,464fa7287a60aa69,start
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Wed, 06 Jul 2005 12:15:18 +0200
From: Vander <874505@gmx.de>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing
Subject: JEditorPane setPage problem
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 84.152.218.214
Message-ID: <42cbaf1e$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1120644894 84.152.218.214 (6 Jul 2005 03:14:54 -0700)
Lines: 9
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail