如何在基于NetBeans的项目中将javaDoc添加到我的Java代码中? [英] how to add javaDoc to my Java code in a NetBeans based project?

查看:298
本文介绍了如何在基于NetBeans的项目中将javaDoc添加到我的Java代码中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何向netbeans添加JavaDoc或其他文档?

我尝试这种方式:

How can I add JavaDoc or other document to netbeans ?
I try with this way :

Tools >> Java Platform >> JavaDoc Tab >> JavaDoc.zip (in my desktop) 

但在编辑器中按 Ctrl + Space 显示以下消息:

but in editor when I press Ctrl+Space in tooltiptext this message shown :


找不到Javadoc。此项目的Javadoc文档不存在,或者您没有在Java Platform Manager或库管理器中添加指定的Javadoc。

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.

I尝试重新启动NetBeans但结果如下:

I tried restarting NetBeans but this was the result:

推荐答案

在NetBeans IDE中尝试这个

try this in NetBeans IDE


  1. 从主窗口中选择工具>Java平台管理器。

  2. 在对话框的左侧面板中选择要添加Javadoc的平台。

  3. 在Javadoc选项卡中,单击添加ZIP /文件夹并指定Javadoc文件的位置。

  4. 单击关闭。

  1. Choose Tools > Java Platform Manager from the main window.
  2. Select the platform to which you want to add Javadoc in the left panel of the dialog box.
  3. In the Javadoc tab, click Add ZIP/Folder and specify the location of the Javadoc files.
  4. Click Close.

希望这会有所帮助。

这篇关于如何在基于NetBeans的项目中将javaDoc添加到我的Java代码中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆