What does the Simple example do?
This sample plug-in demonstrates how to write a LiveConnect-enabled
plug-in. It displays a rectangle with the text "Hello World"
and writes messages to the Java Console and to stdout to tell you what
it's doing.
Building and using Simple
Win32/MSVC++ 4.0:
- In the Examples\Simple\Windows directory, open the Simple.mdp project
workspace file.
- Select the "Build|Build NPSimp32.dll" menu item.
- Copy the java class file Examples\Simple\Simple.class to the navigator
plugins directory.
- Copy the plugin Examples\Simple\Windows\NPSimp32.dll to the navigator
plugins directory.
- Quit and relaunch the Navigator, if it is running.
- With the Navigator (preferably 3.0b5 or above) open the file Examples\Simple\Testing\SimpleExample.html.
PPC Mac/CodeWarrior 9:
- In the "Examples:Simple:Macintosh" folder, open the SimplePPC.µ
project file.
- Select the "Project|Make" menu item.
- Copy the java class file "Examples:Simple:Simple.class" to
your Plug-ins folder.
- Copy the plugin (or an alias) "Examples:Simple:SimplePPC"
to the navigator Plug-ins folder.
- Quit and relaunch the Navigator, if it is running.
- With the Navigator (preferably 3.0b5 or above) open the file "Examples:Simple:Testing:SimpleExample.html".
(The Simple example does not work with 68k macs.)