Oracle Jinitiator - Left handed mouse bug

As if I would like to tell that a mouse is a bug.

Problem:
See metalink bug 2200274
When the functions of the left and right mouse buttons are switched under ms-windows, the function of the selection mouse button, originally the left button, is lost, resulting in having only a context button on the left button.

Research< style="font-weight: bold;">Solution:
A valid solution is to go to a JPI configuration, for the newbies, 'a java plug in'.
This makes the deployment of Jinitiator obsolete but makes the presence for the correct JRE mandatory.
A test with version 1.6.0.10 worked very fine and solved the left-right mouse button problem.

Steps:

First,
Create in your formsweb.cfg file a new configuration section ... or better copy the one you were using. For those of you who did not use configurations ... this is a good time for starting doing so.
A config is identified by squarebrackets like this:
[ MyJPIConfig]

Second,
Point the basehtml files to point to the jpi files:

baseHTMLJInitiator=basejpi.htm
baseHTMLie=basejpi.htm
baseHTML=basejpi.htm

Third,
Configure the archives to be loaded by means of the archive_jpi tag:
archive_jpi=frmall.jar,laf.jar,

Fourth,
And ... this should come first ... But since people only remember the last thing they are told ... I'm putting this as the last thing to do.
Enable the correct download of the JRE to be used and set the set the correct identifications for the plugins to be used.
Normally you would download it and then put it on your intranet with the correct url.

Fifth,
This is optional ... but gives some additional configuration possibilities:
envFile=
form=
userid= if no connectstring has to be used.
pageTitle=
width=
height=
separateFrame=
lookAndFeel=
colorScheme=


Now you should have something like the following:

[ MyJPIConfig]
baseHTMLJInitiator=basejpi.htm
baseHTMLie=basejpi.htm
baseHTML=basejpi.htm
jpi_download_page=http://jan.hellings.be/jre/jpi_16010_windows.exe
jpi_classid=clsid:CAFEEFAC-0016-0000-0010-ABCDEFFEDCBA
jpi_codebase=http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab#Version=1,6,0,10
jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_10
envFile=ApplicationEnvFile.env
form=startform.fmx
userid=defuser/defpassword@defconnectstring
otherparams=buffer_records=%buffer% debug_messages=%debug_messages% array=%array% obr=%obr% query_only=%query_only% quiet=%quiet% render=%render% record=%record% tracegroup=%tracegroup% log=%log% term=%term%
pageTitle=MyPageTitleTexteke
width=1280
height=750
separateFrame=true
lookAndFeel=Oracle
colorScheme=blaf

Conclusion
It seems to me that performance is much better using the newer version of JRE than the one provided by Jinitiator.

Greetz,
Jan.

No comments: