deprecation warning (promblem)


2003-07-25 02:02:28 AM
jbuilder1
Hi all,
Somewhere in my code i use the following method...
password.getText(),the password is a JPasswordTextField. The compiler
imforms me with the folloing warning ""EfzLogin.java": Warning #: 368 :
method getText() in class javax.swing.JPasswordField has been deprecated at
line 151, column 56"
that the method getText() is deprecated. Despite of the warning my program
works correctly.Do you know any alternate way to get the text from a
JPasswordTextField? Finally can you axplain me what is deprecation and whats
its scope (maybe a stupic question).
Than you all,
Kostas.