Re: Open .html file from java application? How?



In article <1ky4pjhhnhtku.1gij2bvpthf2g$.dlg@xxxxxxxxxx>,
Andrew Thompson <SeeMySites@xxxxxxxxxxx> wrote:

> On Mon, 20 Jun 2005 13:05:34 -0500, Steve W. Jackson wrote:
> > Andrew Thompson <SeeMySites@xxxxxxxxxxx> wrote:
> >> On Sat, 18 Jun 2005 16:37:09 GMT, Dimitris (GIS) wrote:
> >>
> >>> ..open an .html file ...
> >>
> >> <http://browserlauncher.sourceforge.net/>
> ..
> > BrowserLauncher is a bit long in the tooth for my tastes.
> >
> > I recently implemented something in my app that launches either URLs or
> > user-selected files using the designated application, ...
>
> 1) Will you be adding *nix support?
> 2) Can you supply an open source version?
>
> [ If both 'yes', I might be interested in offering it off
> my site/linking as an alternative to BL. ]

The application is my company's proprietary product (SIMPROCESS), which
we support for Windows 2000 and higher as well as any Linux that is
compatible with the shared library code we use with FLEXlm licensing
(Macrovision says that means compatible with Red Hat versions 6 through
8). As a Mac supporter, I do some occasional testing on my PowerBook
and advocate for a Mac OS X version whenever I get the opportunity.

As a result, I don't have any code packaged in a way that could be made
open source or anything similar. But the previous post pretty much
described the logic I devised for Windows and Mac OS X portions.

or the Linux side, expecting that I can't readily detect the graphical
desktop manager myself, I set it up to look for a separate properties
file where the user is to give me two properties, named "file.view" and
"url.view". This allows me to let the user indicate what command to use
and supports something I learned in one of these groups some time ago,
which is that CDE on non-Solaris systems supposedly requires different
commands for a URL than for a file URI (I don't have access to such an
environment at present to test it). Naturally, it also allows the user
to choose whatever mechanism they want, even a path-oriented command,
provided it can accept a parameter (the URL or URI, as appropriate) to
do its work. I simply read in the property, break it around spaces, and
build my String array starting with those pieces.

= Steve =
--
Steve W. Jackson
Montgomery, Alabama
.



Relevant Pages

  • Re: The Wintard Preoccupation with Price and Marketshare
    ... You are denying that a PC can be purchased for less than a Mac? ... Of course not, Steve. ... the price difference is less than it used to ... claim go - no need to support it. ...
    (comp.sys.mac.advocacy)
  • Re: McDonalds coffee - better than Starbucks!
    ... I think there is plenty of evidence to support his ... Steve has no obligation to look at the evidence I show him, ... Up to 10k for a mac when the equivalent top-o-the-line PC with all the ...
    (comp.sys.mac.advocacy)
  • Re: The Wintard Preoccupation with Price and Marketshare
    ... I've owned Macs since the Mac II (you probably ... Gee, Steve, nobody claimed you could buy a new Mac for $300. ... As support I offered several personal examples including ... That the Mac's market share is as low as it is constitutes ...
    (comp.sys.mac.advocacy)
  • Re: Software update in 9.2.2
    ... >> Dont tell me Steve now wants to force us out of using 9.2.2 by letting the ... If you sell something you need to support it. ... > So Apple is supposed to support a defunct OS forever? ... in Mac OS 9.2, but fail under Mac OS X's Classic, far too many to be ...
    (comp.sys.mac.system)
  • Re: Where is the JRE location with Mac?
    ... The Mac I am talking about is using Mac OS 10.3.4 ... That last "Home" is yet another symbolic link ... The /usr/bin/java command will be a symbolic link to something else, ... Steve W. Jackson ...
    (comp.lang.java.programmer)