checkTable.setLinesVisible(true);
checkTable.setHeaderVisible(true);
checkTable.addListener(SWT.Resize, new Listener() {
public void handleEvent(Event arg0) {
TableLayout layout = new TableLayout();
layout.addColumnData(new ColumnWeightData(5, 10, true));//localiza��o
layout.addColumnData(new ColumnWeightData(8, 10, true));//N�
layout.addColumnData(new ColumnWeightData(20, 150, true));//Nome do Aluno
layout.addColumnData(new ColumnWeightData(5, 50, true));//Banco
layout.addColumnData(new ColumnWeightData(5, 75, true));//Agencia
layout.addColumnData(new ColumnWeightData(10, 75, true));//Conta
layout.addColumnData(new ColumnWeightData(5, 100, true));//N� do Cheque
layout.addColumnData(new ColumnWeightData(20, 75, true));//1� Titular
layout.addColumnData(new ColumnWeightData(10, 100, true));//Telefone
layout.addColumnData(new ColumnWeightData(12, 50, true));//Emissao
layout.addColumnData(new ColumnWeightData(12, 50, true));//Vencimento
layout.addColumnData(new ColumnWeightData(15, 50, true));//Valor do Cheque
layout.addColumnData(new ColumnWeightData(15, 50, true));//Valor da Parcela
layout.addColumnData(new ColumnWeightData(20, 200, true));//Observa��o
checkTable.setLayout(layout);
}
});