newControl.addActionListener(this);
viewControls.add(newControl);
double size[][] = { { 0.2, 0.8 }, { 35 } };
TableLayout tl = new TableLayout(size);
p.setLayout(tl);
p.add(getCaptionLabel(caption), "0, 0, r, c");
p.add(newControl, "1, 0, l, c");
} else {
int nRows = beanFields.length;
double[] rows = new double[nRows];
for (int i = 0; i < rows.length; i++)
rows[i] = 60;
/*
* double size[][] = {{0.2, 0.8}, rows};
*/
double size[][] = { { 0.9 }, rows };
TableLayout tl = new TableLayout(size);
p.setLayout(tl);
for (int i = 0; i < beanFields.length; i++) {
AbstractViewControl newControl = AbstractViewControl
.newInstance("" + i, beanFields[i].getName(),