private void launchDialog()  
    {  
        String inputValue = JOptionPane.showInputDialog("Enter HyperLink name");
        if(inputValue!=null){
            hyperLinkNames.add(inputValue);
            jList2.setListData(hyperLinkNames.toArray());
            Metafile mf = new Metafile();
            mf.rectID = hyperLinks++;
            mf.rectName = inputValue;
            mf.linkedVideoName = secondaryFileName;
            mf.linkedVideoStartFrame = jSlider1.getValue();
            metaRecords.add(mf);
            jList2.setSelectedIndex(hyperLinkNames.size()-1);
        }
        //System.out.println("name given = "+inputValue);
    }