How can I Dispose Dialog box From LWUIT Component
问题 I am developing one project using LWUIT, Midlet mobile Application. when I press number keys a dialog box will open. when i press the keys #,0,* Dialog should be close. I am using Dialog.dispose() method to close dialog. But it is not working. Below is my Code. Can anyone tell me what is the problem in my code? public class javaForm extends Component implements ActionListener { Dialog d=new Dialog(); public void keyPressed(int key){ System.out.println("Key pressed :"+key); switch(key) { case