public HexPanelListener() { /* * Set this object as the listener * for the hex panel for * *both* types of Mouse Listener */ Controller.getHexPanel().addMouseMotionListener(this); Controller.getHexPanel().addMouseListener(this); }