JOptionPane.YES_NO_OPTION);
if (answer == JOptionPane.YES_OPTION) {
OMGraphicList list = getList();
if (list != null) {
for (int i = 0; i < selectedTiles.length; i++) {
ImageTile selectedTile = selectedTiles[i];
list.remove(selectedTile);
((DefaultListModel) getListModel()).removeElement(selectedTile);
}
if (resultsList != null) {
resultsList.repaint();