Search code examples
lwuit

How to put footer?


I want to put a footer , a copyright , on the bottom of my Form : even if the main content is larger in height then I want the footer always visible , and there is a vertical scrollbar associated with the main content. Here is a suggestive image :

enter image description here

How to accomplish that ?


Solution

  • Use a BorderLayout. The footer goes into south. You need additional nesting, and your new main container goes into center. You need make sure that this main container is set to be scrollable.