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

SWT/AWT embedding Frame does not get Mouse events on Windows.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • 7
    • 6
    • client-libs
    • x86
    • windows_xp

      Below is the email from Silenio from SWT/Eclipse team.
      > Hi Bino,
      >
      > I have this problem with lightweights on Windows and I was wondering if it
      > could
      > be fixed in AWT or worked around some other way.
      >
      > The problem is that Swing components (or any lightweight) will not receive
      > mouse events, if they are added directly to the Windows embedded frame
      > (WEmbeddedFrame). This problem only happens on Windows, and t is
      > possible to work around it by adding a java.awt.Panel between them.
      >
      > Here is the bug report if you want to take a look:
      >
      > https://bugs.eclipse.org/bugs/show_bug.cgi?id=50034
      >
      > Thanks!
      > Silenio


      I have created a testcase for this problem. Simply unzip the attached testcase
      and run in on windows with SWT 3.0 M6 or above. The problem only occurs on windows. The firstr example AWTInSWT_Frame does not work, AWTInSWT_Panel does.
      ###@###.### 10/6/04 14:46 GMT

            ant Anton Tarasov (Inactive)
            bino Bino George
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: