O'Reilly logo

LWUIT 1.1 for Java ME Developers by Biswajit Sarkar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

BorderLayout

BorderLayout provides five positions for placing widgets on a screen—NORTH, SOUTH, EAST, WEST, and CENTER. The figure below shows how these positions are defined.

BorderLayout

BorderLayout inserts components in the following order.

Position

Insertion Order

Remarks

NORTH

First

Expands laterally to occupy all available horizontal space. Height determined by content.

SOUTH

Second

Expands laterally to occupy all available horizontal space. Height determined by content.

EAST

Third

Expands to occupy all available vertical space. Width determined by content.

WEST

Fourth

Expands to occupy all available vertical space. Width determined by ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required