ECS-L Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
Re: [ECS] JAVA "links" ?
Ingo Pakleppa
Wed, 18 Oct 2000 20:06:29 -0700

It depends on exactly what you are trying to do. Are you talking about 
directing the browser to another window? That's easy. The Applet class has 
a method getAppletContext(). This Appletcontext object in turn has a method 
showDocument that lets you do that (incidentally, that only works in an 
applet, not in an application). Or are you talking about displaying text 
the way a link would look, and then when the user clicks on it, bringing up 
a browser? That's a bit tricker; you would have to manually implement the 
underlined font and the mouse logic. Of course, once the user clicks, you 
can use the showDocument method again to actually bring up the browser.

Ingo

At 03:26 PM 10/18/2000 -0400, you wrote:
>Can anyone tell me if it is possible to dynamically
>create html links in a JAVA Applet's window area ?
>Thanks,
>--
>Mark Gilmore
>Omnipotence (ECS home automation software)
>http://omnipotencesoftware.com
>423-745-0026
>Hours: Mon-Sat, 9AM-8PM/EST


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.