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

Print this page

        

*** 298,308 **** * @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 --- 298,308 ---- * @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