24 Oct 16:14
Re: loading a website ... How to do???
puicheng2004 <puicheng <at> sympatico.ca>
2005-10-24 14:14:16 GMT
2005-10-24 14:14:16 GMT
Hi Markus, Yes, that's how I redirect to another URL if the applet is embedded in a web page. If you launch Thinlet without a browser (e.g. using WebStart), you will have to resort to the JNLP BasicService API (http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/examples.html#BasicService). I think I did it before but couldn't find the code any more. But shouldn't be difficult to figure out. Good luck. Clifford --- In thinlet <at> yahoogroups.com, "Markus" <markus_metz <at> h...> wrote: > > I wanna load a website when clicking on a link. Is there a general way > to do this ... something like: > > URL url = new URL("http://www.heise.de"); > String target = "_blank"; > this.getAppletContext().showDocument(url, target); > > independent if i use the appletLauncher or the frameLauncher? ... > Thank you for your help. > ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> _________________________________________________________________ Thinlet Project Site | http://thinlet.com Thinlet Addon Central | http://thinletplus.com Thinlet World News Blog | http://thinletworld.com Thinlet F.A.Q. | http://xul.sourceforge.net/thinfaq.html
RSS Feed