Re: Browser plug-in to interact with browser



On 25 May 2005 13:10:22 -0700, DKM wrote:

> Hello, I am trying to find out if it is possible to create browser
> plug-in using java. The plug-in should have access to the browser's DOM
> and shoud be able to dynamically alter content and style of any element
> by responding to mouse movement and clicks anywhere on the browser
> document.
>
> I am new to all this, but I am familiar with javescript and html. And,
> currently, I can achieve what I want using just javascript. But, I
> would like to encapsulate all the javascript code in a java plug-in.

LiveConnect allows Java and JS to interact. The most common way
to achieve what you want is to have the Applet communicate via
LiveConnect to the JS that directly interacts with/changes the DOM.

HTH

--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.LensEscapes.com/ Images that escape the mundane
.



Relevant Pages

  • Browser plug-in to interact with browser
    ... I am trying to find out if it is possible to create browser ... The plug-in should have access to the browser's DOM ... would like to encapsulate all the javascript code in a java plug-in. ... from Sun's site and a few other sites, but I notice that the applet ...
    (comp.lang.java.programmer)
  • java script error
    ... i run win ME and i have a java script error. ... Your Browser Type and Operating System: ... Your screen height is: 600 pixels ... ShockWave Flash Plug-in - ShockwaveFlash.ShockwaveFlash is ...
    (microsoft.public.windowsupdate)
  • Re: Problema QuickTime 7.2
    ... Find more information about browser plug-ins at mozilla.org. ... Runs Java applets using the latest installed versions of Java. ... For more information: Java Embedding Plugin. ... Netscape Navigator Default Plug-in ...
    (it.comp.macintosh)
  • Re: Opening Tree Lists and other DOM
    ... unfortunately there just aren't enough PPC users for them to ... Your best hope is that a better browser becomes available in the near ... Right now, if you can't make NetFront work, nothing else will. ... subset of JavaScript, while NetFront supports Java, JavaScript and Flash ...
    (microsoft.public.pocketpc)
  • Re: What happened? My "https applets" stopped working
    ... Had to install Office, Photoshop, etc. So over ... They don't work in either browser, ... LIke the test games at the Java site. ... > contains two JAR files. ...
    (comp.lang.java.help)