Article View: borland.public.jbuilder.java.language
Article #15767Re: Invoke a browser on a Macintosh?
From: E.K.A.T
Date: Wed, 28 Apr 1999 00:00
Date: Wed, 28 Apr 1999 00:00
19 lines
1175 bytes
1175 bytes
Yes I would like to know the answer too Phillipus wrote in message <3726E93C.8AFA4378@bangor.ac.uk>... >Hi! > >Does anyone know how to invoke a browser (say, Netscape) on a Mac in a >Java app? I know how to do it for Windows: > > String url = "http://www.wherever.com"; > String cmd = "rundll32 url.dll,FileProtocolHandler " + >url; > Process p = Runtime.getRuntime().exec(cmd); > >So what would be the equivalent on a Mac? > >Cheers. > >Phil > >
Technical Details
Message-ID:
<7g7a31$bun$1@news4.svr.pol.co.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3726E93C.8AFA4378@bangor.ac.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,cf14baa8de46b726 X-Google-Attributes: gidf74b3,public From: "E.K.A.T" <alan@ekat.freeserve.co.uk> Subject: Re: Invoke a browser on a Macintosh? Date: 1999/04/28 Message-ID: <7g7a31$bun$1@news4.svr.pol.co.uk> X-Deja-AN: 471917097 References: <3726E93C.8AFA4378@bangor.ac.uk> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: abuse@theplanet.net X-Trace: news4.svr.pol.co.uk 925313953 12247 62.136.29.24 (28 Apr 1999 15:39:13 GMT) Organization: Customer of Planet Online NNTP-Posting-Date: 28 Apr 1999 15:39:13 GMT Newsgroups: borland.public.jbuilder.java.language