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 16418 - AutoComment action invocation on package without sources
Summary: AutoComment action invocation on package without sources
Alias: None
Product: java
Classification: Unclassified
Component: Javadoc (show other bugs)
Version: 3.x
Hardware: PC All
: P2 blocker (vote)
Assignee: issues@java
: 16955 (view as bug list)
Depends on: 32636
  Show dependency tree
Reported: 2001-10-10 12:52 UTC by Petr Slegr
Modified: 2007-10-16 13:42 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Petr Slegr 2001-10-10 12:52:05 UTC
When user invoke AutoComment action on package without sources (even if this 
package contains other packages with sources) empty (and useless) window is 

I think dialog with a message should be open instead. The message could be 
like "Package doesn't contain java sources" or
"Package doesn't contain java sources. Try on a subpackage" if package 
contain/doesn't conatin subpackage respectively.
Comment 1 Petr Suchomel 2001-10-10 13:02:05 UTC
Useless? You can reuse this window as many times as you want.
Comment 2 Petr Slegr 2001-10-10 13:11:24 UTC
Yes, window is reusable. But imagine empty editor window into that 
you can open document(s). Wouldn't be strange?

GUI guys, what do you think?
Comment 3 Petr Suchomel 2001-10-10 13:46:51 UTC
The same you have if your selected sources are read-only. There could 
be some icon with text "No editable sources".
Comment 4 Petr Suchomel 2001-10-26 08:49:45 UTC
*** Issue 16955 has been marked as a duplicate of this issue. ***
Comment 5 Svata Dedic 2001-11-23 07:38:28 UTC
Formulations like "Wouldn't it be strange" and "There could be" are 
sort of suggesting that this issue is an enhancement request rather 
than defect.
Comment 6 Svata Dedic 2001-11-23 07:39:19 UTC
Oh, BTW Petr, I'll return the issue into the dirty muds of java team 
Comment 7 Marek Grummich 2002-07-19 16:15:25 UTC
Target milestone was changed from not determined to TBD
Comment 8 _ pkuzel 2003-09-09 17:03:33 UTC
I'm now responsible for JavaDoc module.
Comment 9 _ pkuzel 2004-03-24 10:47:32 UTC
[batch] Giving up javadoc issues exclusive ownership.
Comment 10 Jan Pokorsky 2007-10-16 13:42:38 UTC
Closing. AC tool was removed.