开发者

Navigation from game canvas to a form

How do you navigate from a game canvas to a form in Java ME when you 开发者_如何学编程require a user to insert his or her username and password?


Create the form and add some "OK" command to it.

To show the form, you have to do the following:

Display.getDisplay(this).setCurrent(yourForm);

When that OK command is used, you should do:

Display.getDisplay(this).setCurrent(yourCanvas);

and read the data from the form

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜