<div dir="ltr"><br>So that the GUI applications work right, seems to me that they need to be built using "Layout managers", the top manager in the GUI being called with the new dimensions by this gesture listener... after the orientation has changed. Each manager calls doLayout() on each of it's children.<br>
</div>