/** * Handles the mouseExited event by invoking the mouseExited methods on listener-a and listener-b. * * @param e the mouse event */ public void mouseExited(MouseEvent e) { ((MouseListener) a).mouseExited(e); ((MouseListener) b).mouseExited(e); }
/** * Handles the mouseReleased event by invoking the mouseReleased methods on listener-a and * listener-b. * * @param e the mouse event */ public void mouseReleased(MouseEvent e) { ((MouseListener) a).mouseReleased(e); ((MouseListener) b).mouseReleased(e); }