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

Print this page

        

*** 604,614 **** * @see #addTextListener * @see #removeTextListener * @since 1.4 */ public synchronized TextListener[] getTextListeners() { ! return (TextListener[])(getListeners(TextListener.class)); } /** * Returns an array of all the objects currently registered * as <code><em>Foo</em>Listener</code>s --- 604,614 ---- * @see #addTextListener * @see #removeTextListener * @since 1.4 */ public synchronized TextListener[] getTextListeners() { ! return getListeners(TextListener.class); } /** * Returns an array of all the objects currently registered * as <code><em>Foo</em>Listener</code>s