public void updateImageUI() {
        JLabel[] labels = imagePanel.getImageContainers();
        Image[] imgs = this.iterator.getImages();
        for(int i=0; i<labels.length; i++) {
            if(imgs[i] == null)
                labels[i].setIcon(null);
            else
                labels[i].setIcon(new ImageIcon(imgs[i].getImageData()));
            labels[i].setText("");
        }
        this.setTitle(study.getName());
        
        this.saveButton.setEnabled(!imagePanel.isReadOnly());
        this.switchDisplayModeButton.setEnabled(!imagePanel.isReadOnly());
    }