DefaultDisplayRendererJ2D with param doesn't compile

Recently here I was advised to pass my own mouse handler class to 
a DisplayRenderer by using the parametric constructor 
DefaultDisplayRendererJ2D(MyMouse.
class). Although the javadoc for class DefaultDisplayRendererJ2D 
shows such a constructor, I get a compile error "Wrong number of 
arguments in constructor", and inspection of the source code for 
this class shows that only the default, parameterless constructor 
exists.