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 43239 - Java target chooser uses bad impl for displaying package chooser
Summary: Java target chooser uses bad impl for displaying package chooser
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: Petr Hrebejk
Keywords: UI
Depends on:
Blocks: 41535
  Show dependency tree
Reported: 2004-05-13 22:28 UTC by Jesse Glick
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2004-05-13 22:28:28 UTC
When running with the "truncate package view"
patch, the Java target chooser panel is screwed up.

1. It shows the truncated package names in the
chooser - should be showing the actual package
names. (No need for icons either, useless.) Just
use a plain JList or something.

2. Worse, if I select a package, it claims it is
going to be creating the file in e.g.


when it should be e.g.


Apparently the code is using the *display name* of
the package node, which is a very poor idea.
Comment 1 Jesse Glick 2004-05-13 22:30:54 UTC
3. Even worse, even though I *cancelled* the wizard, it created the folder


on disk! Should never do anything unless I press Finish.

P4 only because only happens with the truncate patch AFAIK, but still
shows that the code is not very well written.
Comment 2 Petr Hrebejk 2004-05-19 12:25:55 UTC
Changed to node name. Ehich works and does not clash with the
optionally shortened package name.