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

Java Plug-In causes JFC controls to not receive mouse_events

    XMLWordPrintable

Details

    • b04
    • x86
    • windows_95, windows_nt
    • Not verified

    Backports

      Description

        al.smith@eng 2000-10-30
        test: java/awt/Window/WmNcHitTest/WmNcHitTestApplet12.html
        This test is designated as ignored.
        ===========================================================


        We have an unsigned applet that can be used in IE or
        Netscape. We are using the Java Plugin 1.1.1. We are
        using the most recent version of JFC.

        Once the applet comes up inside the browser, the user
        clicks on a button(which works fine) that launches a
        JFrame window outside of the browser. Since the applet
        is unsigned, we get the yellow Warning message at the
        bottom of the JFrame. If we position our screen such
        that any of the controls are now over the screen
        coordinates where the Warning status bar was, those
        controls DO NOT receive mouse events. You can tab to
        them, use your arrow keys on them, but you cannot select
        or click on them with the mouse.

        My main problem is that I am not receiving any mouse
        events on the area of the screen that previously had the
        warning applet. My Example code will illustrate the
        point. You must run this from Netscape or IE with the
        plugin. It works fine in appletviewer.

        1. Press the JFrame button.

        2. This should launch a stand alone JFrame with a
        warning at the bottom that states: "Warning: Applet
        Window".

        3. Reposition the JFrame so that one of the controls
        over the exact area that the WARNING status bar
        previously was.

        4. Try clicking a button with the mouse, access a text
        field, or click on a combo box. This area of the screen
        is OFF LIMITS because this is not a signed applet. The
        new JFrame coorinates were not sent properly. The new
        position of the JFrame still remembers the old
        coordinates for the WARNING status bar, even though the
        JFramemoved.

        Note: The problem is not reproducible if you do not get the
                       warning message at the bottom of the stand alone JFrame.


        Attachments

          Issue Links

            Activity

              People

                duke J. Duke
                mhmccart Mary Mccarthy
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: