// Select the last (cloned) tile
tileList.setSelectedIndex(tileset.size() - 1);
tileList.ensureIndexIsVisible(tileset.size() - 1);
} else if (source == editAnimationButton) {
MapEditor.runTimer = false;
AnimationDialog ad = new AnimationDialog(this, ((AnimatedTile)currentTile).getSprite());
ad.setVisible(true);
MapEditor.runTimer = true;
}
/*
else if (source == setImagesCheck) {
if (setImagesCheck.isSelected()) {