public void OpenFile(int primary) throws FileNotFoundException{
        JFileChooser fileChooser = new JFileChooser("C:\\Users\\Aishwarya\\Documents\\NetBeansProjects\\NewVideoPlayer");
        int status = fileChooser.showOpenDialog(this);
         
        if(status == 0)
        {
            try {
                ReadVideo(fileChooser.getSelectedFile().getPath(),primary);
            } 
            catch (IOException ex) {
                Logger.getLogger(VideoAuthoringTool.class.getName()).log(Level.SEVERE, null, ex);
            }
        }
    }