When you select another component, the previously
selected element loses its Id to "".
Discussion
Anonymous
-
2002-12-09
Logged In: YES
user_id=634628
In fact, I found the problem. Method updateId is called each
time actionPerformed is fired and updateId changes the id
from the one on newId textField even if the user was not
changing the id.
So I add a if(newId.isShowing()) at the beginning of
updateId.
Please verify that I made no mistake...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=634628
In fact, I found the problem. Method updateId is called each
time actionPerformed is fired and updateId changes the id
from the one on newId textField even if the user was not
changing the id.
So I add a if(newId.isShowing()) at the beginning of
updateId.
Please verify that I made no mistake...