문제

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.

도움이 되었습니까?

해결책

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.

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top