final String[] names = new String[]{
resources.getString("libraries-table.column.name"),
resources.getString("libraries-table.column.version"),
resources.getString("libraries-table.column.licence"),
resources.getString("libraries-table.column.info")};
final DefaultTableModel model = new DefaultTableModel(names, libraries.size());
for (int i = 0; i < libraries.size(); i++)
{
final DependencyInformation depInfo = (DependencyInformation) libraries.get(i);
model.setValueAt(depInfo.getName(), i, 0);
model.setValueAt(depInfo.getVersion(), i, 1);
model.setValueAt(depInfo.getLicenseName(), i, 2);
model.setValueAt(depInfo.getInfo(), i, 3);
}
this.table = new JTable(model);
add(new JScrollPane(this.table));