JEasy - a framework for JAVA applications using XML


Tour page 2: Use Layout Managers                                previous    next


A border layout lays out a container, arranging and resizing its components to fit in five regions: north, south, east, west, and center.
Border layout may be used in frames to separate it in regions which are used in most window applications.


  Components in Java  

A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user. Examples of components are the buttons, checkboxes, labels, textfields and scrollbars of a typical graphical user interface.



Layout manager


Layout manager arrange components in a container. Some of these are: FlowLayout arranges from left to right, CardLayout like a stack of cards, GridLayout like rows and columns in a table.
GridBagLayout is a flexible layout manager that aligns components vertically and horizontally.


JEasy Copyright @ 1997-2002 Harry Pfohl CBSE Convergent Business and Software Engineering GmbH
Projects and consulting Westernacher & Partner Unternehmensberatung AG