• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

javadoc bug or missing an option for class extending AbstractTableModel

 
Ranch Hand
Posts: 221
Scala Python Java
  • 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.
 
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
Scala Python Java
  • 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.
 
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • 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
 
Villains always have antidotes. They're funny that way. Here's an antidote disguised as a tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic