super.beforeFindPartsForm(f);
Container c = findPartDetailsContainer(f);
TableLayout layout = (TableLayout) c.getLayout();
for (int i = 0; i < 7; i++) {
TableLayout.Constraint constraint = layout.createConstraint(i, 0);
constraint.setHorizontalAlign(Component.RIGHT);
}
The container has a TableLayout (7,2). I want the first column to be right aligned.