🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #3531

[JAVA] lokaal html bestand weergeven in JEditorPane

#3531
From: TRAX
Date: Tue, 30 Dec 2003 13:44
13 lines
1609 bytes
Hoi, als vervolg op mijn vraagje over hoe ik moet lezen van een http server,
nu dit:
Het bestand is correct ingelezen van de server en wordt opgeslagen in mijn
app directory met de naam tmp.html
Nu zou ik dit bestand graag displayen (en niet de source) in mijn
JEditorPane. Heb ik hiervoor nog klassen nodig? (bv editorkits, parsers e.d)
want blijkbaar is jEditorPane1.setPage("tmp.html");
niet voldoende. Uw hulp wordt ten zeerste ge�ppreci�erd!

Alvast bedankt!

--
stijn.verspeet@pandora[delete.this].be
Technical Details
Message-ID: <%ifIb.104875$fV7.4490359@phobos.telenet-ops.be>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!nntp.theplanet.net!inewsm1.nntp.theplanet.net!easynet-monga!easynet.net!feed1.news.be.easynet.net!ossa.telenet-ops.be!phobos.telenet-ops.be.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII
X-Google-Thread: fcea4,e3d8d55c50559826,start
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2003-12-30 05:44:28 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!nntp.theplanet.net!inewsm1.nntp.theplanet.net!easynet-monga!easynet.net!feed1.news.be.easynet.net!ossa.telenet-ops.be!phobos.telenet-ops.be.POSTED!not-for-mail
From: "TRAX" <Stijn.Verspeet@pandora[delete.this].be>
Newsgroups: be.comp.programming
Subject: [JAVA] lokaal html bestand weergeven in JEditorPane
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <%ifIb.104875$fV7.4490359@phobos.telenet-ops.be>
Date: Tue, 30 Dec 2003 13:44:27 GMT
NNTP-Posting-Host: 213.118.63.40
X-Complaints-To: abuse@telenet.be
X-Trace: phobos.telenet-ops.be 1072791867 213.118.63.40 (Tue, 30 Dec 2003 14:44:27 MET)
NNTP-Posting-Date: Tue, 30 Dec 2003 14:44:27 MET
Organization: Telenet Internet