TextureChoiceComponent.class, "availableTexturesLabel.text"));
this.availableTexturesList = new JList(createListModel(preferences.getTexturesCatalog()));
this.availableTexturesList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
this.availableTexturesList.setCellRenderer(new TextureListCellRenderer());
this.availableTexturesList.getSelectionModel().addListSelectionListener(
new ListSelectionListener() {
public void valueChanged(ListSelectionEvent ev) {
CatalogTexture selectedTexture = (CatalogTexture)availableTexturesList.getSelectedValue();
setPreviewTexture(selectedTexture);
if (modifyTextureButton != null) {
modifyTextureButton.setEnabled(selectedTexture != null && selectedTexture.isModifiable());