summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorBrian Jones <cbj@gnu.org>1999-11-12 03:10:19 +0000
committerBrian Jones <cbj@gnu.org>1999-11-12 03:10:19 +0000
commitae41f468fb8333c1259f584658435f22f67d6e86 (patch)
treee89bc03279dd34644413996129d789337f12ac65 /java
parent0eba47fd06a8edbeb171bdfd2bac46bfd6c26b86 (diff)
downloadclasspath-ae41f468fb8333c1259f584658435f22f67d6e86.tar.gz
remove(TextListener,TextListener): added method
Diffstat (limited to 'java')
-rw-r--r--java/awt/AWTEventMulticaster.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/java/awt/AWTEventMulticaster.java b/java/awt/AWTEventMulticaster.java
index dc6027e46..c6c7518c2 100644
--- a/java/awt/AWTEventMulticaster.java
+++ b/java/awt/AWTEventMulticaster.java
@@ -406,6 +406,22 @@ remove(WindowListener lis, WindowListener old)
*
* @return The resulting listener after the remove operation.
*/
+public static TextListener
+remove(TextListener lis, TextListener old)
+{
+ return((TextListener)removeInternal(lis, old));
+}
+
+/*************************************************************************/
+
+/**
+ * Removes the listener <code>old</code> from the listener <code>lis</code>.
+ *
+ * @param lis The listener to remove <code>old</code> from.
+ * @param old The listener to remove.
+ *
+ * @return The resulting listener after the remove operation.
+ */
public static ActionListener
remove(ActionListener lis, ActionListener old)
{