public Component getListCellRendererComponent(JList list, Object value,
int index, boolean isSelected, boolean cellHasFocus) {
JPanel panel = new JPanel(new BorderLayout());
CommandBarButtonForDisplay button = (CommandBarButtonForDisplay) value;
panel.add(button, BorderLayout.CENTER);
panel.setToolTipText(button.getToolTipText());
return panel;
}