Is this possible to use lwuit.Dialog with javax.microedition.lcdui.Canvas in wireless toolkit 2.5.2?

后端 未结 2 1934
暗喜
暗喜 2021-01-25 16:49

I am using javax.microedition.lcdui.Canvas for drawing my string on the screen. But I also need one dialog window for some purpose. So I am using lwuit

相关标签:
2条回答
  • 2021-01-25 17:12

    My Idea is create an user defined Item which extends from CustomItem for dialog.But it is difficult to code the complete implementation.Better u search for any third pary jar file which already implemented dialog box.

    0 讨论(0)
  • 2021-01-25 17:34

    I would say it's possible but it will increase size of the app significantly. Whenever you need your dialog you can init LWUIT Display and use LWUIT Forms and Dialogs.

    I would better to implement some really simple Dialog ourselves. It's not really much work. Or use another third party solution.

    0 讨论(0)
提交回复
热议问题