Search code examples
java-melwuitlwuit-dialog

How to Resize Dialog Box in LWUIT?


I have Created one Program Using Lwuit,Midlet. In that program I am showing Dialog box on the screen (LWUIT component) when I press mobile key. It shows default size. But I want to resize it.

How can I resize the Dialog Box in LWUIT?


Solution

  • Use this Dialog#Show method for showing resized Dialog. For example,

    Dialog dialog = new Dialog("Information");
    dialog.show(0, 100, 11, 11, true);