classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] FYI: Component fixes


From: Roman Kennke
Subject: [cp-patches] FYI: Component fixes
Date: Fri, 18 Nov 2005 22:15:14 +0000

This fixes two issues in Component:

- setBackground should not make the component inherit its background from
the parent. This bug showed up in an application we tested.
- I made the event system handle mouse events and mouse motion events
separately. This really belongs to my previous Container fixup

2005-11-17  Roman Kennke  <address@hidden>

        * java/awt/Component.java
        (setBackground): Don't inherit background from parent.
        (addMouseMotionListener): Enable MOUSE_MOTION_EVENT_MASK instead
        of MOUSE_EVENT_MASK.
        (eventTypeEnabled): Handle mouse events and mouse motion events
        separately.

/Roman

Attachment: patch.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]