Frage

What is the difference between com.sun.lwuit.Form.show() and com.sun.lwuit.Form.showBack()? I think both are displays the form. I think both are same.

War es hilfreich?

Lösung

If you choose form.Show() the form will slide in from the right side of the display and move to the left (By default.)

If you choose form.showBack()the form will slide in from the LEFT side of the display and move to the RIGHT(By default.)

You can reverse the direction of transition too.

Andere Tipps

Here and here you can see the difference. showBack is also showing the form, but it reverses the direction of the transition.

In my personal use I use Form.show() to show new Form and the Form.showback() is used to show previous shown form with data filled by user as cache.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top