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

SwingSet2 demo menu items don't react to mouse clicks

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3
    • None
    • 5.0
    • deploy
    • generic
    • generic

    Description

      When the SwingSet2 demo program is runned in applet mode via browser it's menu item don't react to the mouse clicks. Instead the underlaying 'control' (e.g. button switching pages) receives the event.
      Found on RedHat9.0 and SuSE 8.2
      Bundles: JDK or JRE 1.5.0 RC b63
      ###@###.### 2004-08-30


      below is instructions to reproduce from ###@###.###
        - install Redhat 9.0
        - install jre-1_5_0-rc-linux-i586-rpm.bin
        - reg. the java plugin: 'ln -s /usr/java/jre1.5.0/plugin/i386/ns7-gcc29/libjavaplugin_oji.so /usr/lib/mozilla-1.2.1/plugins/libjavaplugin_oji.so'
        - login as an ordinary user (tester)
        - run mozilla
        - open the SwingSet demo: http://java.sun.com/products/plugin/1.5.0/demos/plugin/jfc/SwingSet2/SwingSet2.html
        - wait till the applet full load
        - open a menu in the applet
        - !!! TRY TO SELECT A MENU ITEM !!!

      On my computer the click event doesn't go to the menu but to the element under the open menu!


      below is email from ###@###.### who reproduced the problem:
      I tested this on RH 9 w/ Mozilla 1.2.1, and RHEL AS 2.1u4 w/ Mozilla 1.4.2. The behavior is as described; menu clicks pass straight through the menu and the event is sent to whatever is below the menu. I tested the 1.4.2 version of SwingSet2 with the Tiger-RC plugin, and the behavior is the same. I also tested the 1.4.2 version of SwingSet2 with the 1.4.2 plugin, and the problem doesn't occur (1.4.2 can't run the 1.5.0 version of SwingSet2).

      Attachments

        Issue Links

          Activity

            People

              xlu Xiaobin Lu (Inactive)
              jtusla Jiri Tusla (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: