🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #18086

Re: Launching a file via the "appropriate" app

#18086
From: Chris Kelly
Date: Wed, 19 Aug 1998 00:00
15 lines
1255 bytes
"Eric The Fish" <rogNOSPAAMserpent@aol.com> wrote:
>Is there a way to make a java application launch a file via the appropriate
>application? In other words, say the file in question happens to be an html
>file, I'd like to just say to the platform, go open this file and have it
>launch Netscape or IE or whatever is installled to handle this file type.

>And especially, is there a way to do this while remaining platform
>independent? I know how to do this through the Windows API, but I suppose if
>other OS's don't support this functionality, I may be stuck forcing the user
>to configure "help apps" inside my application (yuck!)

You might want to try JConfig, which has this capability on Win32 and
Mac. See the following announcement, or go to:

  http://www.tolstoy.com/samizdat/jconfig.html
Technical Details
Message-ID: <6rdmrh$q1k7@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6rdelr$q1l7@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,5596da218c4d6a31
X-Google-Attributes: gidf74b3,public
From: ilpapa@innocent.com (Chris Kelly)
Subject: Re: Launching a file via the "appropriate" app
Date: 1998/08/19
Message-ID: <6rdmrh$q1k7@forums.borland.com>
X-Deja-AN: 382540378
References: <6rdelr$q1l7@forums.borland.com>
Organization: Samizdat Productions
Newsgroups: borland.public.jbuilder.java.language