0

I don't find the way to do a simple this like hide the keyboard when I want to. I've a Commandand a TextField. The user can write in the TextFieldand when he press the command the keyboard must hide, but I don't know how to do that.

Mun0n
  • 4,438
  • 4
  • 28
  • 46

2 Answers2

0

I've found the way to do that!

Using Component.requestFocus() in other Component of the Form, the keyboard hides!

Does Anyone know other way?

Mun0n
  • 4,438
  • 4
  • 28
  • 46
0

I´m not sure but try something like this...

com.sun.lwuit.VirtualKeyboard.getVirtualKeyboard(myTextField).setVisible(false);

Mixcoatl
  • 160
  • 2
  • 6