this.add(iconLabel);
this.add(textLabel);
}
public Component getListCellRendererComponent(JList list, Object value,
int index, boolean isSelected, boolean cellHasFocus)
<BUG>{
ConfigurationForm configForm = (ConfigurationForm) value;
byte[] configFormIcon = configForm.getIcon();
if(configFormIcon != null)

iconLabel.setIcon(new ImageIcon(ImageLoader.getBytesInImage(
configFormIcon)));
textLabel.setText(configForm.getTitle());
</BUG>
this.isSelected = isSelected;

this.add(iconLabel);
this.add(textLabel);
}
public Component getListCellRendererComponent(JList list, Object value,
int index, boolean isSelected, boolean cellHasFocus)
{
ConfigFormDescriptor cfDescriptor = (ConfigFormDescriptor) value;
if(cfDescriptor.getConfigFormIcon() != null)
iconLabel.setIcon(cfDescriptor.getConfigFormIcon());
if(cfDescriptor.getConfigFormTitle() != null)
textLabel.setText(cfDescriptor.getConfigFormTitle());
this.isSelected = isSelected;
