I am trying to generate my javadoc with the following variable:
private JComboBox<String> monthsBox;
My problem is that javadoc brings up the following error:
type javax.swing.JComboBox does not take parameters private JComboBox monthsBox;
I tried to fix it with this answer like this:
/**
* Shows up a list of the available months.
*
* @param<String>
* Names of the month.
*/
private JComboBox<String> monthsBox;
Still the same problem appears. Maybe I am just searching for the wrong topic.
Please help me out, thanks!
Thanks again to Reimeus for your quick advice. Just didnt remind that this type of declaration is available since jdk 7.
Just installed java-7-openjdk-i386 and used that javadoc. Now everything is working fine (Just needed to delete the @param solution).