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 96880 - Go to Type dialog should put align packages and classes
Summary: Go to Type dialog should put align packages and classes
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Svata Dedic
Keywords: UI
Depends on:
Reported: 2007-03-01 01:31 UTC by Jesse Glick
Modified: 2013-09-04 13:46 UTC (History)
3 users (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2007-03-01 01:31:12 UTC
Current GtT will display e.g.

XMLUtil (org.openide.xml)
XMLUtil (org.netbeans.lib.updater)
XMLUtil (org.netbeans.nbbuild)
XMLUtils (java.util)
XMLUtilTest (org.openide.xml)

etc. The layout is rather clumsy, especially the parentheses (visually
distracting), the package after the class (in contrast to the normal FQN
display), and the lack of alignment.

Suggest a simple change to a tabular format:


This would still let you quickly see the class names and compare them, but you
could also see the package names and FQNs quickly without having to move your
eyes back and forth.
Comment 1 Petr Hrebejk 2007-03-07 10:04:41 UTC
Hmm, I changed the color of the package name to gray recently so it should be
easier to visually navigate to either class name or to package. I could
teoretically implement the suggested tabular format, however it would have other

1) Need to compute all items renderers in advance to find out the  correct width
of the package column
2) If the dialog gets too small the ClassName instead of the package name would
get hidden

Reaassignig to Jano Rojcek to decide.

Comment 2 Jesse Glick 2007-03-07 10:12:41 UTC
I will try the new appearance soon. #1 could be a real performance problem, I
guess. (You could maybe adjust the column position in a renderer based on rows
rendered so far - not sure if that works. Or you could guess based on String
lengths of all items, if you have them all computed at once?) #2 might be a
problem depending on how you set the default size of the dialog. Probably open
to experimentation.

Also see related issue #96878.