removed TODO
This commit is contained in:
parent
84658670ad
commit
18474f6691
@ -10,7 +10,6 @@ import java.util.ArrayList;
|
|||||||
|
|
||||||
public class MediaController implements ActionListener, ListSelectionListener {
|
public class MediaController implements ActionListener, ListSelectionListener {
|
||||||
MediaView mv = new MediaView(this, this);
|
MediaView mv = new MediaView(this, this);
|
||||||
//TODO: Collection für Fotos einfügen
|
|
||||||
ArrayList<Foto> fotocollection = new ArrayList<>();
|
ArrayList<Foto> fotocollection = new ArrayList<>();
|
||||||
|
|
||||||
|
|
||||||
@ -74,7 +73,6 @@ public class MediaController implements ActionListener, ListSelectionListener {
|
|||||||
fotocollection.add(ft);
|
fotocollection.add(ft);
|
||||||
mv.setPhotoList(getNamesPhoto());
|
mv.setPhotoList(getNamesPhoto());
|
||||||
} catch (NumberFormatException ee) {
|
} catch (NumberFormatException ee) {
|
||||||
showPopup(ee.getMessage());
|
|
||||||
throw new WrongFileFormatException("parse error- no integer in file column");
|
throw new WrongFileFormatException("parse error- no integer in file column");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -89,10 +87,7 @@ public class MediaController implements ActionListener, ListSelectionListener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
// TODO: Datei auswählen und die Daten in die Collection laden
|
|
||||||
} else if (e.getActionCommand() == "Grafik") {
|
} else if (e.getActionCommand() == "Grafik") {
|
||||||
// TODO: die Häufigkeiten der Fotoformate muss berechnet werden
|
|
||||||
// und an die Methode displayGraph übergeben werden
|
|
||||||
int raw = 0;
|
int raw = 0;
|
||||||
int jpeg = 0;
|
int jpeg = 0;
|
||||||
int gif = 0;
|
int gif = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user