jdk/src/share/classes/java/awt/TextField.java

Print this page

        

*** 505,515 **** * @see #removeActionListener * @see java.awt.event#ActionListener * @since 1.4 */ public synchronized ActionListener[] getActionListeners() { ! return (ActionListener[])(getListeners(ActionListener.class)); } /** * Returns an array of all the objects currently registered * as <code><em>Foo</em>Listener</code>s --- 505,515 ---- * @see #removeActionListener * @see java.awt.event#ActionListener * @since 1.4 */ public synchronized ActionListener[] getActionListeners() { ! return getListeners(ActionListener.class); } /** * Returns an array of all the objects currently registered * as <code><em>Foo</em>Listener</code>s