It's possible you are just seeing a next button and not a done button
although doing field.putClientProperty("goButton", Boolean.TRUE); doesn't
cause it to fold either which might be a misbehavior.
Your code mixes several concepts that it shouldn't e.g.
setShowDuringEditBehavior isn't applicable in modern devices and should
have been deprecated.
I would also suggest that you don't call revalidate/show without a
verifiable reason.
I suggest trying to call stopEditing() in a call serially block but this
won't work if you've already moved to a different text field as you'd need
to invoke stop editing on that.
--
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/7347cfdc-0588-4b2d-8ece-05d1a619362d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.