Index: src/org/netbeans/modules/openfile/OpenFile.java =================================================================== RCS file: /cvs/utilities/src/org/netbeans/modules/openfile/OpenFile.java,v retrieving revision 1.48 diff -u -r1.48 OpenFile.java --- src/org/netbeans/modules/openfile/OpenFile.java 9 Jul 2002 20:28:08 -0000 1.48 +++ src/org/netbeans/modules/openfile/OpenFile.java 24 Jul 2002 15:55:49 -0000 @@ -111,17 +111,25 @@ * @param port port to send reply to, valid only if wait set * @param line line number to try to open to (starting at zero), or -1 to ignore */ - static void open (final File file, final boolean wait, InetAddress address, int port, int line) { + static void open (File file, final boolean wait, InetAddress address, int port, int line) { + try { + file = file.getCanonicalFile(); + } catch (IOException exc) { + // ignore it + em.log (exc.getMessage()); + } + em.log (" file: " + file); em.log (" file.exists: " + file.exists()); em.log (" file.isFile: " + file.isFile()); if ( ( file.exists() == false ) || ( file.isFile() == false ) ) { + final String fileName = file.toString(); new Thread (new Runnable () { public void run () { TopManager.getDefault().notify (new NotifyDescriptor.Message - (SettingsBeanInfo.getString ("MSG_fileNotFound", file.toString()))); + (SettingsBeanInfo.getString ("MSG_fileNotFound", fileName))); } }).start(); return;