if (fileChooserHtml == null)
{
fileChooserHtml = new JFileChooser();
fileChooserHtml.addChoosableFileFilter
(new FilesystemFilter(new String[]{HTML_FILE_EXTENSION, HTM_FILE_EXTENSION},
getResources().getString("htmlexportdialog.html-documents"), true));
fileChooserHtml.setMultiSelectionEnabled(false);
}
fileChooserHtml.setCurrentDirectory(file);