Use absolute paths when invoking the external viewer; it doesn't know what our current working directory is.

This commit is contained in:
dchandler 2003-12-08 06:53:37 +00:00
parent b617f761d5
commit 8f7322a056

View file

@ -341,7 +341,7 @@ class ConvertDialog extends JDialog
return; return;
} }
openWithExternalViewer(this, fileToOpen); openWithExternalViewer(this, namedFile.getAbsolutePath());
} catch (SecurityException se) { } catch (SecurityException se) {
JOptionPane.showMessageDialog(this, JOptionPane.showMessageDialog(this,
"Cannot proceed because your security policy interfered.", "Cannot proceed because your security policy interfered.",