|
Developer Program
Membership
One-to-One Support
Newsgroups
Developer Publications
View Source
Developer News
Documentation
Technical Manuals
White Papers
TechNotes
Sample Code
FAQs
Books
Technologies
CORBA
Directory & LDAP
Dynamic HTML
Java
JavaScript
Linux
Security
SSJS
XML
Developer Downloads
Tools & SDKs
Patches
iPlanet Products
Technical Resources
|  |
LiveConnect Sample Code
-
Connecting JavaScript to Java with LiveConnect
- Netscape engineer Gary Smith is a clever guy; in this View Source article, in his
own words, he shows you ". . . how you can write pure JavaScript code that
will have Java-like capabilities without your having to write any Java
applets or plug-ins." Neat trick, eh? Read on to find out just how clever
Gary is . . . and to find some useful code samples you can drop into your
own applications.
-
Visual Dynamic HTML Utility
(Requires Netscape Navigator 4.0 or higher)
- The new Visual DHTML tool
includes practical LiveConnect usage for real live JavaScript to Java
communication, such as JavaScript calls to java.awt.Frame, java.awt.FileDialog, and
java.io.DataOutputStream for reading and writing files.
-
Using LiveConnect to Determine Screen Resolution
-
This example demonstrates how to determine a user's screen resolution using LiveConnect.
-
Using LiveConnect to Access JavaScript From Java
-
This
example demonstrates setting and getting a cookie with a JavaScript
function call from a Java applet.
|