Domanda

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.

È stato utile?

Soluzione

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.

Altri suggerimenti

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top