Article View: borland.public.jbuilder.java.api
Article #525Cant read the full text of a HTMLDocument???
From: mathieu
Date: Fri, 01 Aug 2003 21:26
Date: Fri, 01 Aug 2003 21:26
10 lines
1437 bytes
1437 bytes
I would like to display all the text of a HTMLDocument inside a JEditorPane. At the moment I can get the text which is inside the tags but I would like to have all the text...INCLUDING THE TAGS THEMSELVES...
I have tried the following but it does not work:
JEditorPan pane = new JEditorPane();
pane.setEditorKitForContentType("text/plain", new HTMLEditorKit());
pane.setPage("http://www.mypage.com");
Please help me... :)
Technical Details
Message-ID:
<3f2adb04$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-05!sn-xit-09!supernews.com!216.170.153.135.MISMATCH!tdsnet-transit!newspeer.tds.net!205.215.62.125.MISMATCH!in.100proofnews.com!in.100proofnews.com!newspeer1.nwr.nac.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,139430cd09a4de9d,start X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2003-08-01 14:32:05 PST From: "mathieu" <mathieu_renaud@videotron.ca> Sender: "mathieu" <mathieu_renaud@videotron.ca> Reply-To: "mathieu" <mathieu_renaud@videotron.ca> Subject: Cant read the full text of a HTMLDocument??? Newsgroups: borland.public.jbuilder.java.api X-User-Info: 65.95.47.166 65.95.47.166 NNTP-Posting-Host: 207.105.83.65 Message-ID: <3f2adb04$1@newsgroups.borland.com> Date: 1 Aug 2003 14:26:28 -0700 X-Trace: newsgroups.borland.com 1059773188 207.105.83.65 (1 Aug 2003 14:26:28 -0700) Lines: 10 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-05!sn-xit-09!supernews.com!216.170.153.135.MISMATCH!tdsnet-transit!newspeer.tds.net!205.215.62.125.MISMATCH!in.100proofnews.com!in.100proofnews.com!newspeer1.nwr.nac.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail