🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Launching a file via the "appropriate" app

#18019
From: Paul Furbacher
Date: Thu, 20 Aug 1998 00:00
34 lines
1937 bytes
Tapio Holopainen wrote:
> 
> Eric The Fish 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!)
> >
> > Eric Schwarzenbach
> 
> I'm not really sure if you are looking for this, but
> java.applet.AppletContext interface contains some useful methods for
> showing e.g html files on browser.

Although the original question used HTML as an example, I
think the question was more general, and therefore, AppletContext
falls far short as a solution.

Chris Kelley announced JConfig, a cross-platform solution
for providing system-level utilities, such as launching
external applications (and a lot more).  

> To download JConfig, go to:
> 
>     http://www.tolstoy.com/samizdat/jconfig.html


Paul Furbacher
Technical Details
Message-ID: <35DC1C86.5C4528B4@bilbo.bio.purdue.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6rdelr$q1l7@forums.borland.com> <35DBE7F2.2C026770@sysline.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: Paul Furbacher <pf@bilbo.bio.purdue.edu>
Subject: Re: Launching a file via the "appropriate" app
Date: 1998/08/20
Message-ID: <35DC1C86.5C4528B4@bilbo.bio.purdue.edu>
X-Deja-AN: 382973512
Content-Transfer-Encoding: 7bit
References: <6rdelr$q1l7@forums.borland.com> <35DBE7F2.2C026770@sysline.com>
Content-Type: text/plain; charset=us-ascii
Organization: Biological Sciences, Purdue Univ.
Mime-Version: 1.0
Reply-To: pf@bilbo.bio.purdue.edu
Newsgroups: borland.public.jbuilder.java.language