• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javadoc bug or missing an option for class extending AbstractTableModel

 
Carlos Morillo
Ranch Hand
Posts: 221
Java Python Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Everybody,

I am reviewing my javadoc before submission of my assignment and I noticed
for my JTable model class HotelRoomTableModel that extends AbstractTableModel
for all the overwritten methods like getValueAt(), getColumnCount(), getRowCount()
that implement the TableModel interface where I am using javadoc comments of the form:



the HTML generated javadoc I see in my browser doesn't show anything
for these methods other than the name and the signature of the method.

Is that normal? Or is it a bug? Or perhaps did I miss anything?

I would hope that it would show something like:

"Specified by: methodName in interface InterfaceName"

or

"Overrides: methodMame in class ClassName".

Any ideas?

Thanks,

Carlos.
 
Andy Jung
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Carlos,

I have absolutely the same problem like you.
I couldn't find any reason or solution so far.

I also tried it to javadoc with NetBeans and MyEclipse, but all the same.

Kind Regards,
Andy
 
Carlos Morillo
Ranch Hand
Posts: 221
Java Python Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Andy,

I am building my submission jar with Roel's ant build.xml on a SunBlade 2000 SPARC based system
running Solaris 10 with the latest Java 6 JDK from the command line using the
latest Apache Ant distribution.

I could be wrong but sounds like a bug to me.

Carlos.
 
Andy Jung
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could be a bug in javadoclet version 1.6 ?
I override JTables public method changeSelection and I have the same behavior like you.



Could this be a situation to automatic fail ? I mean my assigment says that all public methods have to be java documented.
 
Roel De Nijs
Sheriff
Posts: 9934
113
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have checked my javadoc file for my TableModel and this is what is generated:

getColumnName

public String getColumnName(int column)

Specified by:
getColumnName in interface TableModel
Overrides:
getColumnName in class AbstractTableModel



I ran the script from within my Eclipse IDE, using jdk 1.6.0_13. This problem is also mentioned in this thread.

And as a final remark: I don't think this will lead to automatic failure, because you added javadoc to your public methods (in the code).

Kind regards,
Roel
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic