One approach is to use java.awt.Desktop#browse(). This works well because it 
works for both desktop and browser application contexts. However, it will 
generally open the page in a new window, which may not be what you want.

You can also use BrowserApplicationContext.eval(), which can be used to execute 
arbitrary JavaScript in the page. However, this only works when running in the 
browser.

On Apr 26, 2010, at 10:06 AM, Jérôme Serré wrote:

> Hello,
> 
> Is it possible to load a page in the browser from an applet pivot ?
> something like:
> getAppletContext (). showDocument (new URL ());
> 
> Thanks
> 
> 
> 
> 
> 
> __
> 
> Cordialement
> 
> Jérôme Serré
> 
> 
> 
> 

Reply via email to