< prev index next >

src/java.desktop/share/classes/javax/swing/JPasswordField.java

Print this page

        

*** 250,260 **** * Returns the text contained in this <code>TextComponent</code>. * If the underlying document is <code>null</code>, will give a * <code>NullPointerException</code>. * <p> * For security reasons, this method is deprecated. Use the ! <code>* getPassword</code> method instead. * @deprecated As of Java 2 platform v1.2, * replaced by <code>getPassword</code>. * @return the text */ @Deprecated --- 250,260 ---- * Returns the text contained in this <code>TextComponent</code>. * If the underlying document is <code>null</code>, will give a * <code>NullPointerException</code>. * <p> * For security reasons, this method is deprecated. Use the ! * {@code getPassword} method instead. * @deprecated As of Java 2 platform v1.2, * replaced by <code>getPassword</code>. * @return the text */ @Deprecated
< prev index next >