@@ -0,0 +1,582 @@
+package AppPackage;%0A%0Aimport java.io.File;%0A%0Aimport javax.swing.JFileChooser;%0A%0Apublic class SelectVideo %7B%0A%0A%09JFileChooser fc = new JFileChooser();%0A%09private String f;%0A%09%0A%09public void PickFile() throws Exception %7B%0A%09%09File dir = new File (%22C:/%22);%0A%09%09fc.setCurrentDirectory(dir);%0A%09%09fc.setDialogTitle(%22Choose Video File%22);%0A%09%09if (fc.showOpenDialog(null)==JFileChooser.APPROVE_OPTION)%7B%0A%09%09%09String file = fc.getSelectedFile().toPath().toUri().toString();%0A%09%09%09setFile (file);%0A%09%09%7D%0A%09%7D%0A%09%0A%09private void setFile (String file) %7B%0A%09%09this.f = file;%0A%09%7D%0A%09%0A%09public String getFile () %7B%0A%09%09return this.f;%0A%09%7D%0A%09%0A%09%0A%7D%0A

Create SelectVideo.java