I'm developing a program that fetches and draws an image in a thread on the canvas. However the virtual keypad does not appear, so I can not use the functionality I have written for the key events. I have another program that uses the same code, but without the key events, and the keypad appears normally. Is this a bug or how can I get the keypad to appear? I have tried to put Nokia-MIDlet-On-Screen-Keypad: gameactions in the jad, and also through phones application suite setting but with no success. I'm developing with Netbeans 6.7.1 and JDK 1.6.