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.
The "New JMX MBean" wizard will let you wrap an existing class with an MBean. It creates some methods in the new MBean to implement an Extended Standard MBean. It also creates method wrappers for the methods of the wrapped bean. The source code for these method wrappers have comments derived from the descriptions entered into the "New JMX MBean" wizard. The "New JMX MBean" wizard, however, doesn't use the comments or Javadoc to populate the description texts. In comparison, the "Override Methods" wizard (in the Source menu) will pick up comments from Javadoc when creating source code for a method.
I think that the current JMX support doesn't allow to add Attributes/Operations to this kind of MBean. We should disable the add Attribute/Operation as we do for pure Dynamic MBean. I will then log an RFE to handle properly this use case.
New enhancement logged : http://www.netbeans.org/issues/show_bug.cgi?id=69929
I mixed this issue ID with 69905. Forget what has been say before it applies to 69905
What you suggest is that we should use the Javadoc of the wrapped class and use it for descriptions. Right? It is an excellent idea.