diff options
Diffstat (limited to 'libjava/java/awt/dnd/MouseDragGestureRecognizer.java')
| -rw-r--r-- | libjava/java/awt/dnd/MouseDragGestureRecognizer.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libjava/java/awt/dnd/MouseDragGestureRecognizer.java b/libjava/java/awt/dnd/MouseDragGestureRecognizer.java index d01032433c0..a94c82525dc 100644 --- a/libjava/java/awt/dnd/MouseDragGestureRecognizer.java +++ b/libjava/java/awt/dnd/MouseDragGestureRecognizer.java @@ -84,12 +84,14 @@ public abstract class MouseDragGestureRecognizer protected void registerListeners () { - // FIXME: implement this + component.addMouseListener (this); + component.addMouseMotionListener (this); } protected void unregisterListeners () { - // FIXME: implement this + component.removeMouseListener (this); + component.removeMouseMotionListener (this); } public void mouseClicked (MouseEvent e) |

