what should do? if
show() replace with setVisible(True) then..
getText() replace with ?
addItem() replace with ?
Deprecated. As of Java 2 platform v1.2, replaced by getPassword.
Fetches a portion of the text represented by the component. Returns an empty > string if length is 0.
For security reasons, this method is deprecated. Use the getPassword method > instead.
how bout additem()? additem() not deprecated?
there is no addItem method for a JPasswordField (yet), so chances of it being deprecated (already) are rather small.