diff --git a/src/MediaController.java b/src/MediaController.java index addf19a..4ef1356 100644 --- a/src/MediaController.java +++ b/src/MediaController.java @@ -10,7 +10,6 @@ import java.util.ArrayList; public class MediaController implements ActionListener, ListSelectionListener { MediaView mv = new MediaView(this, this); - //TODO: Collection für Fotos einfügen ArrayList fotocollection = new ArrayList<>(); @@ -74,7 +73,6 @@ public class MediaController implements ActionListener, ListSelectionListener { fotocollection.add(ft); mv.setPhotoList(getNamesPhoto()); } catch (NumberFormatException ee) { - showPopup(ee.getMessage()); 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") { - // TODO: die Häufigkeiten der Fotoformate muss berechnet werden - // und an die Methode displayGraph übergeben werden int raw = 0; int jpeg = 0; int gif = 0;