Just pass in null for the panel parameter.
LayerRenderer lr = new LayerRenderer(null, null);
will return you a LayerRenderer object.
On 5/3/07, Sunburned Surveyor <[EMAIL PROTECTED]> wrote:
I'm trying to cook up a mock object for the LayerViewPanel class, which
will allow me to test elements o
Stefan:
Look at the QuasimodeTool. The problem is that the JUMP code adds a window
listener every time a tool is activated, but never removes them. If you
compare SkyJUMP with JUMP you will see that we create a window listener and
then remove it in the deactivate() method. This parallels the use
The short answer: the right click is special only if you want to make it
special.
The longer answer is: The AbstractCursor class implements the CursorTool
interface. Any cursor tool that is descended from this class will implement
the mouseClicked method. This method will be called whenever any o