How to Resize Dialog Box in LWUIT?
-
15-04-2021 - |
Question
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);
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow