I need to use a focusListener on some textfields, but the problem is when 
focusGained or focusLost is called most of the time the value in the 
textfield is wrong. 

For example: 

lets say i type hello then leave the textfield 

  etAnswer.addFocusListener(new FocusListener(){  
            @Override
            public void focusGained(Component cmp) {
                      system.out.println("etAnswer conents->"+etAnswer);// 
this will *not* show hello everytime, even a uitimer with delay will not, 
even cmp itself will not!
            }

Any thoughts?

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/e02ae803-9f58-4f7c-a3b1-50fd9e1f62c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to