@Override protected void addChooserFilters(JFileChooser chooser){
  javax.swing.filechooser.FileNameExtensionFilter filter=new javax.swing.filechooser.FileNameExtensionFilter(Bundle.getMessage("FileFilterLabel","*.dfm, *.hex"),"dmf","hex");
  chooser.addChoosableFileFilter(new javax.swing.filechooser.FileNameExtensionFilter("Digitrax Mangled Firmware (*.dmf)","dmf"));
  chooser.addChoosableFileFilter(new javax.swing.filechooser.FileNameExtensionFilter("Intel Hex Format Firmware (*.hex)","hex"));
  chooser.addChoosableFileFilter(filter);
  chooser.setFileFilter(filter);
}

@ Override protected void addChooserFilters ( JFileChooser chooser ) { javax . swing . filechooser . FileNameExtensionFilter filter = new javax . swing . filechooser . FileNameExtensionFilter ( Bundle . getMessage ( "FileFilterLabel" , "*.dfm, *.hex" ) , "dmf" , "hex" ) ; chooser . addChoosableFileFilter ( new javax . swing . filechooser . FileNameExtensionFilter ( "Digitrax Mangled Firmware (*.dmf)" , "dmf" ) ) ; chooser . addChoosableFileFilter ( new javax . swing . filechooser . FileNameExtensionFilter ( "Intel Hex Format Firmware (*.hex)" , "hex" ) ) ; chooser . addChoosableFileFilter ( filter ) ; chooser . setFileFilter ( filter ) ; }
add filter ( s ) for possible types to the input file chooser .
