开发者

How to show dialog with searching list using LWUIT?

开发者 https://www.devze.com 2023-02-17 15:09 出处:网络
开发者_高级运维I need to show the dialog with searching list while user pressing the button. How to do it with LWUIT?See this link. Here clearly said how to do this in the Form. Same thing you have to

开发者_高级运维I need to show the dialog with searching list while user pressing the button. How to do it with LWUIT?


See this link. Here clearly said how to do this in the Form. Same thing you have to do on the Dialog. Show the Dialog while clicking the button. So you have add the actionListener for this button. See this sample,

Button button = new Button("Button");
button.addActionListener(new ActionListener() {

  public void actionPerformed(ActionEvent ae) {
    Dialog dialog = new Dialog();
    // Do here for searching list. Refer that link.
    dialog.show();
  }
0

精彩评论

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

关注公众号