I want to make a grid of JLabels. I want to have 4 rows and 4
columns.Any ideas?
thanks in advance
> I want to make a grid of JLabels. I want to have 4 rows and 4
> columns.Any ideas?
Post layout questins to 'comp.lang.java.gui'.
Use a GridLayout(4,4), or GL(0,4) or GL(4,0).
<http://java.sun.com/j2se/1.5.0/docs/api/java/awt/GridLayout.html#GridLayout(int,
%20int)>
HTH

Signature
Andrew Thompson
physci, javasaver, 1point1c, lensescapes - athompson.info/andrew
> I want to make a grid of JLabels. I want to have 4 rows and 4
> columns.Any ideas?
Yes! Try using a gridLayout, eg setLayout(new GridLayout(4,4)); See
http://java.sun.com/j2se/1.4.2/docs/api/java/awt/GridLayout.html for
details.

Signature
Sincerely,
Tris Orendorff
[Two antennae meet on a roof, fall in love and get married. The ceremony
wasn't much, but the reception was excellent.]