views:

8

answers:

0

This helps you to bring focus to a specific textfield:

yourMidlet.getDisplay().setCurrentItem(tField); 

But what method can be used to findout if the focus is on a specific textfield?

I excpect something like

if(yourMidlet.getDisplay().getCurrentItem().equals(tField)) { ...