There are several Java detection examples in this folder...



a)  Example1:
A Java detector that can perform both OTF and NOTF detection. It uses the jarfile when necessary.
Detection is initiated before the window has loaded.

   Example1_verified:
This is exactly the same as Example1, except that we selected the "Verify jarfile [path/]name"
option when generating the PluginDetect script for Java detection.
This option verifies that the Java detection code specifies the jarfile with the correct 
name and path.


b)  Example2:
A Java detector that can only perform OTF detection. It uses the jarfile when necessary.
Obviously, Java will not be detected in certain cases here (Some browsers need NOTF detection).
Detection is initiated before the window has loaded.



c)  Example3:
A Java detector that can perform both OTF and NOTF detection. It uses the jarfile when necessary.
Detection is initiated AFTER the window has loaded.



d)  Example4:
A Java detector that can only perform OTF detection. It uses the jarfile when necessary.
Obviously, Java will not be detected in certain cases here (Some browsers need NOTF detection).
Detection is initiated AFTER the window has loaded.




Note about the PluginDetect scripts in this folder
-----------------------------------------------------

PluginDetect_Java_OTF_NOTF.js was generated by the PluginDetect Script Generator.
The "Java" and "NOTF" checkboxes were both selected, so that the script could handle
both OTF and NOTF Java detection.

PluginDetect_Java_OTF.js was generated by the PluginDetect Script Generator.
The "Java" checkbox was selected. But, the "NOTF" checkbox was not selected. 
Hence this script can only handle OTF detection.

PluginDetect_Java_OTF_NOTF_Verify.js was generated by the PluginDetect Script Generator.
The "Java", "NOTF" and "Verify jarfile" checkboxes were selected.



Note: If you use PluginDetect_Java_OTF.js (which only does OTF), together with 
detectJava_OTF_NOTF.js (which works with both OTF and NOTF), then your detection will
only be OTF.


