[cp-patches] FYI: Component and TextComponent fix.

Lillian Angel langel at redhat.com
Wed Jun 14 19:10:12 UTC 2006

Small fix. All these functions should be static.

2006-06-14  Lillian Angel  <langel at redhat.com>

        * java/awt/Component.java
        (ignoreOldMouseEvents): Made static.
        (translateEvent): Made static.
        * java/awt/TextComponent.java
        (ignoreOldMouseEvents): Made static.

On Wed, 2006-06-14 at 12:27 -0400, Lillian Angel wrote:
> The JDK TextComponent ignores all old mouse events. I fixed our
> implementation to do this by creating a package-private function in
> Component and TextComponent.
> This also fixes: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27695
> I have committed a mauve test for this as well.
> 2006-06-14  Lillian Angel  <langel at redhat.com>
>         * java/awt/Component.java
>         (ignoreOldMouseEvents): New helper function.
>         (translateEvent): Changed to be non-static and use new helper.
>         * java/awt/TextComponent.java
>         (ignoreOldMouseEvents): New helper function.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-patch
Size: 1278 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20060614/d30f4f48/patch.bin

More information about the Classpath-patches mailing list