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

Modal JDialog boxes behave incorrectly with ActiveX bridge

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: bdk_1.0
    • Fix Version/s: None
    • Component/s: deploy
    • Subcomponent:
    • CPU:
      x86
    • OS:
      solaris_2.6

      Description

      Customer called in regards to a problem he was having with his application.
      His application uses Swing components and the ActiveX bridge. Customer's
      complaint was that his dialog box would not receive input from the user
      if used as an ActiveX component. However, things worked fine within
      the standard beanbox supplied with the BDK.

      Further investigation shows that the problem seems to arise if the
      JDialog is a modal dialog and is 'popped' from another ActiveX
      component.

      I installed Microsoft ActiveX Control Pad in order to use
      JavaScript to call a method which pops up the customers modal dialog.
      This does indeed lock the process. It seems that the calling
      thread does not liked to be blocked by this dialog. However, using
      a non-modal dialog works fine.

      Modal's seem to work fine if called from within the Component requesting
      the modal box. For example, one of my testcases was a JPanel with
      a button which instatanted a Modal Dialog. This worked. However,
      if I attempt to instantiate this modal from another ActiveX component,
      the application hangs.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              duke J. Duke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: