Click to See Complete Forum and Search --> : table layout needed


vlasov pavel
September 18th, 2000, 05:32 AM
I need an layout manager that lays componets out like HTML's <table> control.
java.awt.GridLayout seems is not match as width-of-each-component is the width-of-widest-component.

Phill
September 19th, 2000, 05:20 AM
Hi
Its possible to do that with a FlowLayout(if each
Object is equal in size to the cell above and below it).
The FlowLayout lays each component from left to
right at its intrinsic size.
Also a GridBagLayout is possible, but there is much more fiddling involved in getting a GridBagLayout just right.

Phill