-           JFileChooser loader= new JFileChooser(); 
-           loader.addChoosableFileFilter(new FileFilter(){ 
-             public boolean accept(File f){ 
-               return f.getName().toLowerCase().endsWith(".xml"); 
-             } 
-             public String getDescription(){ 
-               return "Documento XML (*.xml)"; 
-             } 
-           } 
-           ); 
-           loader.addChoosableFileFilter(new FileFilter(){ 
-             public boolean accept(File f){ 
-               return f.getName().toLowerCase().endsWith(".xls"); 
-             } 
-             public String getDescription(){ 
-               return "Documento Microsoft Excel (*.xls)"; 
-             } 
-           } 
-           ); 
-           loader.addChoosableFileFilter(new FileFilter(){ 
-             public boolean accept(File f){ 
-               return f.getName().toLowerCase().endsWith(".txt") || f.getName().toLowerCase().endsWith(".csv"); 
-             } 
-             public String getDescription(){ 
-               return "Documento de texto separado por comas (*.csv, *.txt)"; 
-             } 
-           } 
-           ); 
-           loader.addChoosableFileFilter(loader.getAcceptAllFileFilter());     
-