Is there a restriction about where to use repaint()
I mean, should it be called only from inside Keypressed method
or I can use it from a method of my own?
I have a midlet in which repaint() seems to work only inside Keypressed method.
But I'm trying to control all the program flow from a method called Main.
Thanks for any help...
I mean, should it be called only from inside Keypressed method
or I can use it from a method of my own?
I have a midlet in which repaint() seems to work only inside Keypressed method.
But I'm trying to control all the program flow from a method called Main.
Thanks for any help...