Yes you can script in both direction in both bouwsers IE 3.x/4.x/5.x and
Netscape 3.02 and above.
1.) First you have to access the netscape liveconnect packages
either by downloading with the applets or placed locally in the classpath
of the target machine.
2.) Second you must use the MAYSCRIPT option in the applet tag.
3.) Third this applies to IE only. You must enable the scripting secutiry
options in the internet security settings for the scripting to work
regardless of the MAYSCRIPT option.
That about does it for scripting applets.
Now on the topic of swing usage you have three options
again.
1.) Download the swingall.jar with your applet which may increace applet
start up time.
2.) add the swingall.jar to the classpath of the target host.
3.) Using the java plugin on the target host , which will insure that the
current runtime is correct ( JDK 1.2 and above with Swing ). The plugin
will reduce your applet start-up time through the use of jar caching.
However there is one catch in IE you will not be able script interface with
the applet in either direction. Also not IE 6.x will no longer include
any JVM ( part of the lawsuite settlement , JDK 1.4 ) so you may have to
redesign yuor application to run in that enviornment.
Good luck
Cheers
Chris
runtime is
----------
> From: kevin1 <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Javascript and Java
> Date: Wed, 02 May 2001 15:25:16 -0400
>
> if this went through great! I'm resending because I qyv'ed up the
address...
>
> First. thanks all who replied about my earlier question about
> javascript. (Extending thanks to those who answered the process
> question as well)
>
> More Javascript& java tho:
> I'm working on an intranet - and I've been told that I can use Swing
> applets. What do I need to do to enable that?
> I need to have javascript events trigger actions in a JTree. I
> checked out LiveConnect, and it seems to deal more with java writing
> javascript. This is cool, but not what I need right now. What I need
> is to pass JavaScript variables dynamically, without page reload, to the
> applet and have the JTree change state based on that. This solution is
> targeted for IE as well. Is this possible? How would I go about
> getting started with that?
>
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]