main = new JPanel(new BorderLayout(0,3));
mListModel = new DefaultListModel();
setEntries(currOrder,allItems);
mList = new JList(mListModel);
mList.setCellRenderer(mItemRenderer = new SelectableItemRenderer());
if (renderClass != null && renderComponent != null) {
mItemRenderer.setCenterRendererComponent(renderClass, renderComponent);
}
// Register DnD on the List.