Using ActiveX Bridge functionality one can embed Java beans inside the Microsoft applications. Till 1.6.0 b105, one is able to send key events to these embedded beans but with 6u1 it's not happening.
Steps to reproduce:
1) Install 6.0 b105 and create axbridge/bin inside the JREHOME(C:/Progra~1/Java/jre1.6.0)
2) Copy the attached dlls(AXJTextArea.dll and AXTextArea.dll) into <jre_home>/axbridge/bin directory
3) Goto <jrehome>/axbridge/bin and execute
- regsvr32 AXJTextArea.dll
- regsvr32 AXTextArea.dll
4) Execute the attached exe file.
5) Microsoft VB application with embedded AWT and Swing TextAreas should come up
6) Click on the buttons and try sending key events to the text areas. You should be able to write onto these TextAreas.
7) Close the application and unregister the dlls as follows
- regsvr32 /u AXJTextArea.dll
- regsvr32 /u AXTextArea.dll
Repeat the above steps with 6u1. With the 6u1 you can notice that both the text areas will not respond to the keyboard events