🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Launching a file via the "appropriate" app

#18016
From: Tapio Holopainen
Date: Thu, 20 Aug 1998 00:00
19 lines
1436 bytes
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.

- Tapio
Technical Details
Message-ID: <35DBE7F2.2C026770@sysline.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: Tapio Holopainen <tapio.holopainen@sysline.com>
Subject: Re: Launching a file via the "appropriate" app
Date: 1998/08/20
Message-ID: <35DBE7F2.2C026770@sysline.com>
X-Deja-AN: 382936401
Content-Transfer-Encoding: 7bit
References: <6rdelr$q1l7@forums.borland.com>
To: Eric The Fish <rogNOSPAAMserpent@aol.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Sysline Oy
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language