🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: HTML browser display from Java application / applet...

#20029
From: Rich Wilkman
Date: Tue, 04 Nov 1997 00:00
35 lines
1670 bytes
David:

I'm not sure about the "doability" of the rest of your post, but if the
browser is netscape it takes a command line argument of a URL and launches
to that point.  You could do a runtime.exce() of Netscape with that argument
to get you to that first spot.

I don't think you'll be able to effectively "drive" netscape from a Java
Applet, however.

-Rich

David C. Jacobson wrote:

> Hi,
>
> Does anyone have an example of some Java code that causes the Web
> browser goto a given URL (display a specified HTML page)?  I've read
> some thread about the JavaSoft HTML bean for displaying HTML within the
> Java applet and/or application, but I'm not interested in something
> quite that advanced.
>
> I just want a JBCL button control in my Java application to cause the
> Web browser to follow a specified URL, or, if it's an applet, to go to
> the URL wiping out the page with the embedded applet, to which I can
> return to by using the browser's "back" button.  One step further, is it
> possible to export data out of the Java applet / application into the
> HTML page?
>
> Thanks in advance for any guidance,
>
> David C. Jacobson
> Catapult Systems Corp.
> mailto:dcj@launch.com
Technical Details
Message-ID: <345F71D6.8B30811E@corp.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <345EDA6D.23D9C3CB@launch.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,b58e080f3ad2bdce
X-Google-Attributes: gidf74b3,public
From: Rich Wilkman <rwilkman@corp.borland.com>
Subject: Re: HTML browser display from Java application / applet...
Date: 1997/11/04
Message-ID: <345F71D6.8B30811E@corp.borland.com>
X-Deja-AN: 287030526
References: <345EDA6D.23D9C3CB@launch.com>
Organization: None
Newsgroups: borland.public.jbuilder.java.language