Description: MediaPlayer code, some code, appropriate use: import java.awt .* import java.awt.event .* import javax.swing .* import javax.media .* import java.io.* import java.util .*// in order to import Vector// import com.sun.java.swing.plaf.windows .* public class MediaPlayer extends JFrame implements ActionListener, Runnable (private JMenuBar bar// menu bar private JMenu fileMenu, choiceMenu, aboutMenu private JMenuItem openItem, openDirItem, closeItem, about, infor private JCheckBoxMenuItem onTop private boolean top = false, loop// set the window in the top private Player player// Play is a Controller Interface realize private File file, listFile// use File Class JFileChooser combine files to open operation, and after the relevant list.ini
File list (Check if you may need any files):