list.addContainerProperty("Type ID", String.class, null);
list.addContainerProperty("Type Name", String.class, null);
// list.setVisibleColumns(new Object[] { "Type Name" });
for (int i = 0; i < resArray.size(); i++) {
ResourceType resType = resArray.get(i);
list.addItem(
new Object[] {
Integer.toString(resType.getResourceTypeID()),
resType.getResourceTypeName() }, i);
}
} catch (DAOException e) {
e.printStackTrace();
me.getApplication().getMainWindow()