public void addMouseMotionListener(MouseMotionListener listener) { panel.addMouseMotionListener(listener); }