NXObjectIndex homeItem = new NXObjectIndex('h', "Home");
if (localPanel.listing) {
tableModel.addRow(homeItem);
table.setModel(tableModel);
} else {
listModel.addElement(homeItem);
sortedModel = new NXSortedListModel(listModel, NXSortedListModel.SortOrder.DESCENDING, new NXObjectComparator());
list.setModel(sortedModel);
}
drives.objects.put("Home", homeItem);
}