Article View: borland.public.jbuilder.java.swing
Article #10088Re: Using JEditorPane to Display a Local HTML file
From: Chris Georgiou - TZOTZIOY
Date: Wed, 17 Nov 1999 00:00
Date: Wed, 17 Nov 1999 00:00
16 lines
1729 bytes
1729 bytes
On Tue, 16 Nov 1999 13:46:25 -0700, rumours say that "Joe Mayo"
<mayoj@uswest.net> might have written:
>Try something like this:
>
>String myUrl = "file:" + "help" + System.getProperty("file.separator") +
>"helpFile.htm";
Is there really a need for getProperty("file.separator") here? I mean,
it's a URI, therefore it should always be a slash ("/"), unless URI
specification changes of course.
<snip>
--
I am Greeks and I speak England very best,
TZOTZIOY, ICQ# 13397953
Technical Details
Message-ID:
<r1h53sgi4pmvs4645h1qifue8h5g9tuvrs@4ax.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<80q9dc$pno$1@news7.svr.pol.co.uk> <uWpY3.1595$54.51182@news.uswest.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,905daaa275364cdd X-Google-Attributes: gid111d45,public X-Google-Thread: f5d71,905daaa275364cdd X-Google-Attributes: gidf5d71,public X-Google-Thread: 10fd6d,905daaa275364cdd X-Google-Attributes: gid10fd6d,public X-Google-Thread: 113ae9,905daaa275364cdd X-Google-Attributes: gid113ae9,public X-Google-Thread: 10a146,905daaa275364cdd X-Google-Attributes: gid10a146,public From: Chris Georgiou - TZOTZIOY <tzot@removethis.iname.thistoo.com> Subject: Re: Using JEditorPane to Display a Local HTML file Date: 1999/11/17 Message-ID: <r1h53sgi4pmvs4645h1qifue8h5g9tuvrs@4ax.com> X-Deja-AN: 549724632 Content-Transfer-Encoding: 7bit References: <80q9dc$pno$1@news7.svr.pol.co.uk> <uWpY3.1595$54.51182@news.uswest.net> Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@ntua.gr X-Trace: ulysses.noc.ntua.gr 942851196 74414 194.219.64.193 (17 Nov 1999 15:06:36 GMT) Organization: National Technical University of Athens, Greece Mime-Version: 1.0 Reply-To: tzot@iname.com NNTP-Posting-Date: 17 Nov 1999 15:06:36 GMT Newsgroups: borland.public.jbuilder.java.swing,comp.lang.java,comp.lang.java.gui,comp.lang.java.help,comp.lang.java.programmer