[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gcjwebplugin-devel] Patch: PluginAppletWindow fix and Test
From: |
Lillian Angel |
Subject: |
Re: [Gcjwebplugin-devel] Patch: PluginAppletWindow fix and Test |
Date: |
Fri, 07 Apr 2006 12:56:36 -0400 |
On Thu, 2006-04-06 at 18:26 -0400, Lillian Angel wrote:
> Hi,
>
> Attached is a fix for PluginAppletWindow. It should extend several
> different listeners, and pass all events received to its child (the
> applet). This is because the author of the applet may attach a listener
> to the applet, as they are unaware of the parent frame (the plugin
> applet window), and any events on the parent window will not be known to
> the child and the it's listener will never be notified.
>
> Try this applet: http://www.falstad.com/wavebox/
>
> The PluginAppletWindow implements all listeners that Sun's appletWindow
> implements. Sun does not take care of all listeners (i.e. FocusListener
> and KeyListener) but most are there. The test case tests all listeners.
> It completely passes on Sun. 3 tests fail on gcjwebplugin because of a
> Classpath bug. This will be fixed soon.
The problem has been fixed in Classpath. All tests pass.
>
> 06-04-2006 Lillian Angel <address@hidden>
>
> * src/gcjwebplugin/PluginAppletWindow.java
> (PluginAppletWindow): Added listeners.
> (componentAdded): New function. Passes event to applet.
> (componentRemoved): Likewise.
> (componentHidden): Likewise.
> (componentShown): Likewise.
> (componentResized): Likewise.
> (componentMoved): Likewise.
> (mouseClicked): Likewise.
> (mousePressed): Likewise.
> (mouseReleased): Likewise.
> (mouseEntered): Likewise.
> (mouseExited): Likewise.
> (mouseDragged): Likewise.
> (mouseMoved): Likewise.
> (inputMethodTextChanged): Likewise.
> (caretPositionChanged): Likewise.
> (hierarchyChanged): Likewise.
> (ancestorMoved): Likewise.
> (ancestorResized): Likewise.
> (setHandle): No need to set layout here.
>
> I do not have commit access, can someone please commit this?
>
> Thank you,
> Lillian
> _______________________________________________
> Gcjwebplugin-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/gcjwebplugin-devel