문제

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.

도움이 되었습니까?

해결책

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?

다른 팁

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

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top