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.

Bug 26942 - Inconsistent tooltip for .java file source editor tabs
Summary: Inconsistent tooltip for .java file source editor tabs
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: -S1S-
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-01 20:40 UTC by Jesse Glick
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2002-09-01 20:40:30 UTC
For all non-.java source files that I know of, the
tooltip for the source editor tab gives the full
path to the disk file, if available. (Else the
relative path within the filesystem, and the
filesystem display name.) For Java sources, it
shows e.g.:

some.pkg.Class [java] in /home/me/src

which is weird and inconsistent; would prefer simply

/home/me/src/some/pkg/Class.java

or if there is no disk file,

some/pkg/Class.java in /home/me/src.jar

History: once, all files showed the "package.Class
[ext] in Filesystem" syntax, but this was changed
to show the file path to avoid seeming too
classpath-specific. Was not changed for .java however.

Impl should be trivial: delete
JavaEditor.messageToolTip and matching bundle keys.
Comment 1 Svata Dedic 2003-01-09 11:46:09 UTC
Done in trunk,
/cvs/java/src/org/netbeans/modules/java/JavaEditor.java,v  <-- 
JavaEditor.java
new revision: 1.133; previous revision: 1.132
Comment 2 Jesse Glick 2003-01-09 12:28:31 UTC
Forgot the bundle, I think.
Comment 3 Svata Dedic 2003-01-09 16:41:24 UTC
Thanks, Jesse.
/cvs/java/src/org/netbeans/modules/java/Bundle.properties,v  <-- 
Bundle.properties
new revision: 1.67; previous revision: 1.66
Comment 4 Jan Becicka 2003-01-21 11:03:06 UTC
VERIFIED
Comment 5 Quality Engineering 2007-09-20 09:59:55 UTC
Reorganization of java component