Can you update the MediaFilesDialog class so it can show the uploaded video and audio as per UploadVideoDialog Class

//MediaFilesDialog Class
package GUI.Dialog.TeacherDialog;

import Entity.Teacher;
import GUI.TeacherGUI;

import javax.swing.;
import java.awt.;
import java.io.File;
import java.io.IOException;

public class MediaFilesDialog extends JDialog {
private Teacher currentTeacher;
private JList<NAME_1> videoList;
private JList<NAME_1> audioList;

public MediaFilesDialog(TeacherGUI parent, Teacher teacher) {
    super(parent, "Media Files", true);
    this.currentTeacher = teacher;

    initComponents();
    createLayout();

    setDefaultCloseOperation(DISPOSE_ON_CLOSE);
    setSize(600, 400);
    setLocationRelativeTo(parent);
}

private void initComponents() {
    File videoDir = new File("Data/video/" + currentTeacher.getName());
    videoDir.mkdirs();

    NAME_1[] videoFiles = videoDir
            .list((dir, name) -> name.toLowerCase().endsWith(".mp4") || name.toLowerCase().endsWith(".avi"));
    videoList = new JList<>(videoFiles);

    File audioDir = new File("Data/audio/" + currentTeacher.getName());
    audioDir.mkdirs();

    NAME_1[] audioFiles = audioDir
            .list((dir, name) -> name.toLowerCase().endsWith(".mp3") || name.toLowerCase().endsWith(".wav"));
    audioList = new JList<>(audioFiles);
}

private void createLayout() {
    setLayout(new BorderLayout());

    JPanel mediaPanel = new JPanel(new GridLayout(1, 2, 5, 5));
    mediaPanel.add(createMediaPanel("Video Files", vide