This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 28159
Collapse All | Expand All

(-)CompositeLook.java (-3 / +3 lines)
Lines 87-95 Link Here
87
            return displayName;
87
            return displayName;
88
        }
88
        }
89
        try {
89
        try {
90
            return org.openide.loaders.DataObject.find (file).getNodeDelegate().getDisplayName ();
90
            return file.getFileSystem().getStatus().annotateName(file.toString(), Collections.singleton(file));
91
        } catch (org.openide.loaders.DataObjectNotFoundException ex) {
91
        } catch (IOException e) {
92
            return file.toString ();
92
            return file.toString();
93
        }
93
        }
94
    }
94
    }

Return to bug 28159