SourceForge.net Logo
by David Capello

Introduction

Bix is a layout manager for Java to be used with AWT or Swing applications to arrange components in a vertical, horizontal or matricial way but quickly.

Concept

Each "bix" is a row/column vector or a matrix. Each element of the vector/matrix can be a AWT component or a "sub-bix". E.g.: you can have a matrix inside an element of a column vector.

This is an example of a simple Login screen:

Bix Layout Demostration

   Bix bix = new Bix(getContentPane(), Bix.VERTICAL);
   Bix matrix = bix.addMatrix(Bix.NONE, 2);
   matrix.add(userNameLabel);
   matrix.add(userName, Bix.FILL);
   matrix.add(passwordLabel);
   matrix.add(password, Bix.FILL);
   bix.add(new JSeparator());
   Bix row = bix.addBix(Bix.HORIZONTAL);
   row.addBix(Bix.FILL);
   Bix subrow = row.addBix(Bix.HORIZONTAL | Bix.EVEN);
   subrow.add(loginButton);
   subrow.add(cancelButton);
  

Bix Layout Demostration

 

Documentation

See the Javadoc documentation online (in Spanish).

Download

JAR with source code: bix-1.0.jar
Generated Javadoc: bix-1.0-doc.zip (in Spanish)