A DESCRIPTION OF THE PROBLEM :
The tutorial for JComponent has a table "Setting and Getting Component State". The first method in this table is "void setComponentPopupMenu(String)". The problem is that this method doesn't exist. The correct link would be to setComponentPopupMenu(JPopupMenu popup).
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I expected a link to setComponentPopupMenu(JPopupMenu popup).
ACTUAL -
In the documentation was a link to the non-existing method setComponentPopupMenu(String).
URL OF FAULTY DOCUMENTATION :
http://java.sun.com/docs/books/tutorial/uiswing/components/jcomponent.html
The tutorial for JComponent has a table "Setting and Getting Component State". The first method in this table is "void setComponentPopupMenu(String)". The problem is that this method doesn't exist. The correct link would be to setComponentPopupMenu(JPopupMenu popup).
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I expected a link to setComponentPopupMenu(JPopupMenu popup).
ACTUAL -
In the documentation was a link to the non-existing method setComponentPopupMenu(String).
URL OF FAULTY DOCUMENTATION :
http://java.sun.com/docs/books/tutorial/uiswing/components/jcomponent.html