animationKindCombo) {
@Override
public Component getListCellRendererComponent(JList list,
Object value, int index, boolean isSelected,
boolean cellHasFocus) {
AnimationKind kind = (AnimationKind) value;
return super.getListCellRendererComponent(list, kind.getName(),
index, isSelected, cellHasFocus);
}
});
animationKindCombo.setSelectedItem(LafWidgetUtilities
.getAnimationKind(button1));