void previewB_actionPerformed(ActionEvent e) {
   File f;
   try {
     f = Util.getTempFile();
     new HTMLFileExport(f, editor.document, CurrentNote.get(), "UTF-8", false, null, false);
     Util.runBrowser("file:" + f.getAbsolutePath());
   } catch (IOException ioe) {
     new ExceptionDialog(ioe, "Cannot create temporary file", null);
   }
 }
 void runBrowser(String url) throws IOException {
   Util.runBrowser(url);
 }
 void reportB_actionPerformed(ActionEvent e) {
   Util.runBrowser(App.BUGS_TRACKER_URL);
 }