listModel.removeAllElements();
for (int i = 0; i < recs.length; i++) {
listModel.addElement(recs[i]);
}
}
list.repaint();
}
});
result.add(compressBox, new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0,
GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0,
0, 0, 0), 0, 0));