I have this MIDlet with a few in editable text fields in it. I also have a custom List object I made that allows the user to select an item from it.
When I run the MIDlet, the user can select (or highlight) all the text fields by using the arrow keys. I want that when the user will press OK, I'll know what textfield is currently selected so as to know which list I need to display. Something like form.getSelectedItem(). How can I do this? Can you think of a better design to this issue?