You are here:

Hello
Congratulations for such a good job,
I had some problems with making Thinlet (thinlet.sourceforge.net) work in phoneme advanced in Windows Mobile.
It looks like there is a difference between the AWTEvents generated in other VMs (J9) and phoneMe. To solve my problem I had to capture every MouseEvent and generate additional events if mousepressed was launched.
I hope this code help those having problems with events.

Additionally the KeyPressed event was not reaching Thinlet (it extends awt.Container) so I made Thinlet to listen to his parent's Dialog KeyPressed events.

And now a help request:

In PDAs with screen resolution of 320x240 everything works fine but in PDAs with resolution of 320x480 there is a problem with FontMetrics.

Thinlet uses FontMetrics to draw the cursor and the caret in textfields. When I click on a textfield, with just one character, to edit his value, the cursor displays a bit displaced to the right of the character. When the texfield contains more characters, this error seems to accumulate so the cursor displays very far from the letter expected.

In J9, using thinlet, the cursor displays before the end of the character. So there is a similar error on calculating the string sizes.