Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: How to goto URL from app



Just see BrowserLauncher
http://browserlauncher.sourceforge.net/
this may be useful if you want to use Java

cheers
David


-----Original Message-----
From: email@hidden
[mailto:email@hidden]On Behalf Of Greg Guerin
Sent: Wednesday, July 09, 2003 2:48 AM
To: email@hidden
Subject: Re: How to goto URL from app


Nick Howes <email@hidden> wrote:

> case OS_WIN_9X :
> params = new String[] {
> "command.com",
> "/c",
> "start",
> '"' + s + '"'
> };
> break;

In my experience, it works better to run the START program directly:

case OS_WIN_9X :
params = new String[] {
"start",
s
};
break;

For one thing, you don't have to quote the URL. It works as-is.

For another, running START.EXE by itself won't display a dorky
command-window, which makes your program look ever so stupid, given the
defaults of the command.com window.

Sadly, START is a builtin on NT-lineage versions of Windows (NT, 2K, XP),
and puzzling out how to tell it to not put up the geekoid command-line
window was more than I could decipher even after playing around with it for
a couple hours. The price of innovation, I suppose.

I realize this is light-years off-topic for this list, though I think it's
fairly on-topic for the thread (well, within an AU or two).

-- GG
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: How to goto URL from app (From: Greg Guerin <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.