wtf?!
came across this recently - how can you not love java :)
It's from javax.swing.JMenuBar
/**
* Sets the help menu that appears when the user selects the
* "help" option in the menu bar. This method is not yet implemented
* and will throw an exception.
*
* @param menu the JMenu that delivers help to the user
*/
public void setHelpMenu(JMenu menu) {
throw new Error("setHelpMenu() not yet implemented.");
}
/**
* Gets the help menu for the menu bar. This method is not yet
* implemented and will throw an exception.
*
* @return theJMenu
that delivers help to the user
*/
public JMenu getHelpMenu() {
throw new Error("getHelpMenu() not yet implemented.");
}
the funniest thing is that a bug report was submitted for this... - 9 years ago! hopefully the issue will be finally resolved in java 1.6 :)
view the bug report
p.s. go i18n ! :)