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.
Most cases are working fine but some e.g. actionPerformed() are not working. 1. Start NetBeans 2. Add JDK javadoc (download from java.sun.com) as Javadoc for Java Platform 3. Edit the following codes jButton1.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton1ActionPerformed(evt); } }); 4. Click on actionPerformed(). If src.zip is specified on Java Platform, it displays the javadoc but it looks the contest came from src.zip. If src.zip is not specified (removed it), it displayed the following error. public void actionPerformed(ActionEvent evt) Javadoc not found. Either Javadoc documentation for this item does not exist or you have not added specified Javadoc in the Java Platform Manager or the Library Manager. It means localized javadoc will not be displayed, English contents from src.zip will be displayed. This behavior is the same on 6.5. So I filed as P3.
Created attachment 82362 [details] screenshot
What does mean 4. Click on actionPerformed() ? You mean Ctrl-click? Or invoking CC? Thanks.
Sorry for the unclear explanation. Move cursor to "actionPerformed" on editor like screenshot.
I am an original reporter of this problem. I'd like to tell you additional problem about event methods. When I clicked a event method (for example, "mouseClicked"), Javadoc window doesn't shows Japanese (localized) description, but English description. (for example, "Invoked when the mouse button has been clicked (pressed and released) on a component.") When I removed src.zip, Javadoc window only shows the method name. Even following error message is not shown. "Javadoc not found. Either Javadoc documentation for this item does not exist or you have not added specified Javadoc in the Java Platform Manager or the Library Manager." This behavior happens on 6.5 and 6.7. ...I'm not so good at English, so please excuse me if there are some wrong expressions.
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/fab6aac01bd3
Integrated into 'main-golden', will be available in build *201101190000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/fab6aac01bd3 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #165458: javadoc window can not display some APIs - fixed.