FilenameFilter type1 = new ExtensionFilter ("PatchEdit Library Files",new String[] {".patchlib",".scenelib"});
FilenameFilter type1 = new ExtensionFilter ("PatchEdit Library Files (*.patchlib, *.scenelib)",new String[] {".patchlib",".scenelib"});
        public void actionPerformed (ActionEvent e)        {            FileDialog fc=new FileDialog (PatchEdit.this);	    fc.setMode(fc.LOAD);            FilenameFilter type1 = new ExtensionFilter ("PatchEdit Library Files",new String[] {".patchlib",".scenelib"});            fc.setDirectory (appConfig.getLibPath());            fc.setFilenameFilter (type1);	    fc.show();	    if (fc.getFile() == null)	      return;	    File file = new File(fc.getDirectory(), fc.getFile());	    openFrame (file);        }