I got a piece of code like this
Jtextfield one=new Jtextfield("",3);
one.addFocusListener(this);
Jtextfield two=new Jtextfield("",4);
two.addFocusListener(this);
private void focusLost(FocusEvent fe)
{
// to do
}
How do i get the name of the textfield that triggered the focus event