-
Enhancement
-
Resolution: Fixed
-
P4
-
1.2.0, 1.3.0, 1.4.0
-
beta
-
generic, unknown, x86, sparc
-
generic, linux, solaris_2.5, solaris_2.5.1, solaris_2.6
-
Verified
The implementation for getListener() was added as a new feature in the Kestrel
release by the Swing team. The implementation of getListeners() for JComponent
neds to be completed for the following listeners (see bug 4257538):
PropertyChangeListener, AncestorListener, VetoableChangeListener
The fix will be implemented in AWT for each of the following components:
java.awt.Component
java.awt.Container
java.awt.Scrollbar
java.awt.Checkbox
java.awt.Window
java.awt.List
java.awt.TextComponent
java.awt.Choice
java.awt.TextField
java.awt.Button
And also for the Swing classes:
javax.swing.JComponent
javax.swing.tree.DefaultTreeSelectionModel
--
MouseWheelListener should probably also be added.
brent.christian@eng 2000-07-18
release by the Swing team. The implementation of getListeners() for JComponent
neds to be completed for the following listeners (see bug 4257538):
PropertyChangeListener, AncestorListener, VetoableChangeListener
The fix will be implemented in AWT for each of the following components:
java.awt.Component
java.awt.Container
java.awt.Scrollbar
java.awt.Checkbox
java.awt.Window
java.awt.List
java.awt.TextComponent
java.awt.Choice
java.awt.TextField
java.awt.Button
And also for the Swing classes:
javax.swing.JComponent
javax.swing.tree.DefaultTreeSelectionModel
--
MouseWheelListener should probably also be added.
brent.christian@eng 2000-07-18
- duplicates
-
JDK-4240721 Need EventListener[] java.awt.Component.getListeners(Class listenerClass)
-
- Closed
-
-
JDK-4279894 JComponent.getListeners() does not work for PropertyChangeListeners
-
- Closed
-
-
JDK-4339918 getListeners() returns incorrect value
-
- Closed
-
-
JDK-4257538 JComponent: getListeners() returning incorrect values for listeners.
-
- Closed
-
-
JDK-4219696 Get method for components which returns the eventListener.
-
- Closed
-