Posted by arek111
on July 2, 2009 at 12:52 PM PDT
I'm using phoneME Advanced - Personal Profile b118 from http://www.cs.kuleuven.be/~davy/phoneme/?q=node/10 . Set focus for component (e.g TextField, Button) doesn't work for me.
My short example:
Frame frame = new Frame();
Panel panel = new Panel();
TextField textField = new TextField();
textField.requestFocus(); //also checked with requestInWindowFocus()
As you can see, I set focus after adding all components to Frame. Someone on forum had similar problem but in his case, he set focus befor adding component.
It is strange because my code works correctly when I run application in Windows Xp. It also worked when I run this example on windows CE 5.0 with J9 JVM, but it doesn't work with phoneMe. I need set focus using this JVM
Thank in advance