* Method onFileSaveAs
*
*
*/
protected void onFileSaveAs () {
MonitorDocument document = app.getDocument ();
String pathname = document.getPathname ();
JFileChooser fileChooser = new JFileChooser (pathname);
fileChooser.addChoosableFileFilter (new ExtensionFileFilter ("bam", "Monitor document"));
if (fileChooser.showSaveDialog (this) == JFileChooser.APPROVE_OPTION) {
File file = fileChooser.getSelectedFile ();
document.save (file);
}
}