Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6508627

6u1 : Unable to send key events to AWT/Swing components embdedded inside Microsoft VB applications

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1
    • Resolution: Duplicate
    • Affects Version/s: 6u1
    • Fix Version/s: 6u1
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Introduced In Build:
      b01
    • Introduced In Version:
      6u1
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        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

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  son Oleg Sukhodolsky (Inactive)
                  Reporter:
                  jijising Jitender Singh (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: