How to Change the LCDUI form size in J2Me?
-
14-11-2019 - |
Frage
We are using LCDUI for our j2me application and I want to change my form size to minimize for looks like popup window. But I can't resize the form.
But we have one method in form class setSize(Dimension d);
But there is no use.
I suspect there is no way to change the LCDUI form size.
Please Enlighten me on this...
and also is there any way to change form size in LWUIT?
Lösung
Form
's size cannot be changed ! If you don't need to place Components
inside it then I suggest you to use Canvas
so that you can , in this situation , simulate size change by painting for example a Rectangle
with the appropriate Dimension
.
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow